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-0001720 | Print column 2 only for rows where column 1 is exactly pending. | $1 == "pending"{print $2} | closed hana 47 indigo
ready kim 118 cobalt
paused ivan 52 cobalt
paused jules 45 cobalt
pending gus 112 cobalt
pending bruno 114 cobalt
closed eli 109 birch
| gus
bruno
| failed ivan 101 indigo
closed chen 13 indigo
ready jules 15 birch
ready bruno 38 grove
pending alice 114 delta
pending jules 85 birch
failed gus 50 harbor
paused chen 7 cobalt
ready hana 2 amber
| alice
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001720-p1 | Extract and print only the second column for entries where the first column equals pending. | $1 == "pending"{print $2} | closed hana 47 indigo
ready kim 118 cobalt
paused ivan 52 cobalt
paused jules 45 cobalt
pending gus 112 cobalt
pending bruno 114 cobalt
closed eli 109 birch
| gus
bruno
| failed ivan 101 indigo
closed chen 13 indigo
ready jules 15 birch
ready bruno 38 grove
pending alice 114 delta
pending jules 85 birch
failed gus 50 harbor
paused chen 7 cobalt
ready hana 2 amber
| alice
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001720 | qwen/qwen3.7-plus |
awkweave-0001721 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | ember ERROR 74
grove ERROR 89
delta ERROR 34
ember ERROR 21
birch INFO 1
grove ERROR 90
| birch INFO 1
| birch WARN 105
indigo ERROR 75
cobalt DEBUG 49
indigo WARN 70
grove DEBUG 13
juniper ERROR 23
indigo INFO 38
ember INFO 114
cobalt INFO 4
| indigo INFO 38
ember INFO 114
cobalt INFO 4
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001721-p1 | Print all fields from rows where the second field starts with the prefix INFO. | $2 ~ /^INFO/ | ember ERROR 74
grove ERROR 89
delta ERROR 34
ember ERROR 21
birch INFO 1
grove ERROR 90
| birch INFO 1
| birch WARN 105
indigo ERROR 75
cobalt DEBUG 49
indigo WARN 70
grove DEBUG 13
juniper ERROR 23
indigo INFO 38
ember INFO 114
cobalt INFO 4
| indigo INFO 38
ember INFO 114
cobalt INFO 4
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001721 | qwen/qwen3.7-plus |
awkweave-0001722 | Print every line except those containing the exact text indigo. | $0 !~ /indigo/ | ember 100 paused
birch 24 ready
fable 65 failed
harbor 45 active
grove 52 ready
grove 34 paused
indigo 999 active
| ember 100 paused
birch 24 ready
fable 65 failed
harbor 45 active
grove 52 ready
grove 34 paused
| birch 19 ready
fable 98 active
delta 32 failed
cobalt 27 failed
birch 85 ready
amber 14 failed
cobalt 19 active
amber 62 active
indigo 999 active
| birch 19 ready
fable 98 active
delta 32 failed
cobalt 27 failed
birch 85 ready
amber 14 failed
cobalt 19 active
amber 62 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001722-p1 | Output every line that does not contain the exact string indigo. | $0 !~ /indigo/ | ember 100 paused
birch 24 ready
fable 65 failed
harbor 45 active
grove 52 ready
grove 34 paused
indigo 999 active
| ember 100 paused
birch 24 ready
fable 65 failed
harbor 45 active
grove 52 ready
grove 34 paused
| birch 19 ready
fable 98 active
delta 32 failed
cobalt 27 failed
birch 85 ready
amber 14 failed
cobalt 19 active
amber 62 active
indigo 999 active
| birch 19 ready
fable 98 active
delta 32 failed
cobalt 27 failed
birch 85 ready
amber 14 failed
cobalt 19 active
amber 62 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001722 | qwen/qwen3.7-plus |
awkweave-0001723 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | hana indigo 86
jules juniper 0
hana ember 80
lina indigo 70
hana ember 90
hana amber 23
hana amber 88
hana amber 71
| hana ember 80
lina indigo 70
hana ember 90
hana amber 23
| bruno delta 24
eli ember 7
lina delta 94
lina fable 1
eli grove 112
hana grove 113
jules birch 106
kim juniper 51
| lina delta 94
lina fable 1
eli grove 112
hana grove 113
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001723-p1 | Print lines numbered 3 through 6, inclusive of both the start and end lines. | NR >= 3 && NR <= 6 | hana indigo 86
jules juniper 0
hana ember 80
lina indigo 70
hana ember 90
hana amber 23
hana amber 88
hana amber 71
| hana ember 80
lina indigo 70
hana ember 90
hana amber 23
| bruno delta 24
eli ember 7
lina delta 94
lina fable 1
eli grove 112
hana grove 113
jules birch 106
kim juniper 51
| lina delta 94
lina fable 1
eli grove 112
hana grove 113
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001723 | qwen/qwen3.7-plus |
awkweave-0001724 | Output only the first 4 records. | NR <= 4 | kim 46 delta
gus 96 harbor
eli 95 grove
bruno 45 grove
eli 16 grove
lina 24 grove
eli 75 delta
kim 104 juniper
bruno 48 delta
| kim 46 delta
gus 96 harbor
eli 95 grove
bruno 45 grove
| chen 112 indigo
hana 72 ember
ivan 26 indigo
alice 52 cobalt
eli 118 harbor
hana 30 fable
kim 89 cobalt
bruno 27 harbor
bruno 78 juniper
| chen 112 indigo
hana 72 ember
ivan 26 indigo
alice 52 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001724-p1 | Restrict the output to the initial 4 records only. | NR <= 4 | kim 46 delta
gus 96 harbor
eli 95 grove
bruno 45 grove
eli 16 grove
lina 24 grove
eli 75 delta
kim 104 juniper
bruno 48 delta
| kim 46 delta
gus 96 harbor
eli 95 grove
bruno 45 grove
| chen 112 indigo
hana 72 ember
ivan 26 indigo
alice 52 cobalt
eli 118 harbor
hana 30 fable
kim 89 cobalt
bruno 27 harbor
bruno 78 juniper
| chen 112 indigo
hana 72 ember
ivan 26 indigo
alice 52 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001724 | qwen/qwen3.7-plus |
awkweave-0001725 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 82 delta
lina 93 delta
hana 99 grove
chen 82 amber
kim 20 grove
eli 16 ember
kim 0 juniper
kim 98 cobalt
ivan 44 birch
farah 84 cobalt
| lina 93 delta
hana 99 grove
chen 82 amber
kim 20 grove
eli 16 ember
kim 0 juniper
kim 98 cobalt
ivan 44 birch
farah 84 cobalt
| jules 91 juniper
gus 92 harbor
lina 85 amber
bruno 93 grove
jules 14 cobalt
lina 9 juniper
dina 6 delta
chen 67 grove
lina 92 birch
| gus 92 harbor
lina 85 amber
bruno 93 grove
jules 14 cobalt
lina 9 juniper
dina 6 delta
chen 67 grove
lina 92 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001725-p1 | Omit the header line and print all subsequent lines without modification. | NR > 1 | gus 82 delta
lina 93 delta
hana 99 grove
chen 82 amber
kim 20 grove
eli 16 ember
kim 0 juniper
kim 98 cobalt
ivan 44 birch
farah 84 cobalt
| lina 93 delta
hana 99 grove
chen 82 amber
kim 20 grove
eli 16 ember
kim 0 juniper
kim 98 cobalt
ivan 44 birch
farah 84 cobalt
| jules 91 juniper
gus 92 harbor
lina 85 amber
bruno 93 grove
jules 14 cobalt
lina 9 juniper
dina 6 delta
chen 67 grove
lina 92 birch
| gus 92 harbor
lina 85 amber
bruno 93 grove
jules 14 cobalt
lina 9 juniper
dina 6 delta
chen 67 grove
lina 92 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001725 | qwen/qwen3.7-plus |
awkweave-0001726 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | kim paused 62
dina paused 3
ivan ready 52
alice active 104
gus failed 84
eli active 71
ivan failed 120
| 2
| farah pending 60
alice active 50
chen active 91
chen closed 54
hana active 11
farah failed 88
bruno active 119
kim failed 39
dina active 102
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001726-p1 | Count the number of records where column 2 contains failed; output 0 if no such records exist. | $2 == "failed"{n++}END{print n+0} | kim paused 62
dina paused 3
ivan ready 52
alice active 104
gus failed 84
eli active 71
ivan failed 120
| 2
| farah pending 60
alice active 50
chen active 91
chen closed 54
hana active 11
farah failed 88
bruno active 119
kim failed 39
dina active 102
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001726 | qwen/qwen3.7-plus |
awkweave-0001727 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | dina 22 cobalt
gus 3 cobalt
hana 3 grove
lina 2 birch
bruno 8 harbor
eli 5 cobalt
| 43
| kim 7 indigo
farah 29 juniper
chen 23 cobalt
farah 4 cobalt
jules 6 fable
hana 13 birch
ivan 12 fable
farah 6 grove
| 100
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001727-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | dina 22 cobalt
gus 3 cobalt
hana 3 grove
lina 2 birch
bruno 8 harbor
eli 5 cobalt
| 43
| kim 7 indigo
farah 29 juniper
chen 23 cobalt
farah 4 cobalt
jules 6 fable
hana 13 birch
ivan 12 fable
farah 6 grove
| 100
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001727 | qwen/qwen3.7-plus |
awkweave-0001728 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | fable 11 bruno
birch 1 alice
indigo 9 farah
cobalt 3 kim
fable 17 eli
indigo 15 hana
birch 30 gus
cobalt 20 dina
| 13.25
| juniper 29 chen
grove 27 hana
amber 22 chen
juniper 13 farah
fable 8 chen
indigo 10 hana
indigo 22 bruno
| 18.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001728-p1 | Calculate the average of values in column 2 and format the result to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | fable 11 bruno
birch 1 alice
indigo 9 farah
cobalt 3 kim
fable 17 eli
indigo 15 hana
birch 30 gus
cobalt 20 dina
| 13.25
| juniper 29 chen
grove 27 hana
amber 22 chen
juniper 13 farah
fable 8 chen
indigo 10 hana
indigo 22 bruno
| 18.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001728 | qwen/qwen3.7-plus |
awkweave-0001729 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | juniper eli 1
ember chen 14
harbor alice 16
birch alice 20
fable alice 16
birch alice 2
| 1
| indigo gus 27
harbor chen 15
cobalt farah 28
delta lina 14
amber jules 21
indigo gus 10
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001729-p1 | Identify and output the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | juniper eli 1
ember chen 14
harbor alice 16
birch alice 20
fable alice 16
birch alice 2
| 1
| indigo gus 27
harbor chen 15
cobalt farah 28
delta lina 14
amber jules 21
indigo gus 10
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001729 | qwen/qwen3.7-plus |
awkweave-0001730 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice juniper 11
chen birch 9
dina harbor 14
gus amber 25
lina amber 28
lina harbor 22
alice ember 3
dina indigo 26
dina juniper 12
| 28
| lina grove 19
farah grove 23
hana juniper 10
bruno ember 30
alice ember 12
gus ember 11
jules grove 18
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001730-p1 | Identify and output the maximum number found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | alice juniper 11
chen birch 9
dina harbor 14
gus amber 25
lina amber 28
lina harbor 22
alice ember 3
dina indigo 26
dina juniper 12
| 28
| lina grove 19
farah grove 23
hana juniper 10
bruno ember 30
alice ember 12
gus ember 11
jules grove 18
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001730 | qwen/qwen3.7-plus |
awkweave-0001731 | Count all input records and print the total. | END{print NR} | kim 49
farah 23
farah 42
dina 33
ivan 36
bruno 48
eli 110
| 7
| eli 27
alice 27
ivan 62
gus 76
alice 40
dina 50
gus 35
kim 117
chen 50
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001731-p1 | Calculate the total number of input records and display the count. | END{print NR} | kim 49
farah 23
farah 42
dina 33
ivan 36
bruno 48
eli 110
| 7
| eli 27
alice 27
ivan 62
gus 76
alice 40
dina 50
gus 35
kim 117
chen 50
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001731 | qwen/qwen3.7-plus |
awkweave-0001732 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim indigo 22
farah fable 12
dina harbor 9
eli indigo 56
farah birch 25
jules cobalt 30
farah fable 12
ivan ember 21
alice harbor 103
jules fable 73
chen grove 25
| kim indigo 22
farah fable 12
dina harbor 9
eli indigo 56
farah birch 25
jules cobalt 30
ivan ember 21
alice harbor 103
jules fable 73
chen grove 25
| chen indigo 88
bruno delta 5
hana ember 57
dina grove 86
jules birch 86
chen birch 84
alice juniper 40
ivan amber 19
hana ember 57
hana indigo 110
hana grove 66
| chen indigo 88
bruno delta 5
hana ember 57
dina grove 86
jules birch 86
chen birch 84
alice juniper 40
ivan amber 19
hana indigo 110
hana grove 66
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001732-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | kim indigo 22
farah fable 12
dina harbor 9
eli indigo 56
farah birch 25
jules cobalt 30
farah fable 12
ivan ember 21
alice harbor 103
jules fable 73
chen grove 25
| kim indigo 22
farah fable 12
dina harbor 9
eli indigo 56
farah birch 25
jules cobalt 30
ivan ember 21
alice harbor 103
jules fable 73
chen grove 25
| chen indigo 88
bruno delta 5
hana ember 57
dina grove 86
jules birch 86
chen birch 84
alice juniper 40
ivan amber 19
hana ember 57
hana indigo 110
hana grove 66
| chen indigo 88
bruno delta 5
hana ember 57
dina grove 86
jules birch 86
chen birch 84
alice juniper 40
ivan amber 19
hana indigo 110
hana grove 66
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001732 | qwen/qwen3.7-plus |
awkweave-0001733 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | ivan amber 89
farah cobalt 112
chen birch 18
alice grove 119
dina cobalt 104
gus fable 46
hana grove 4
hana juniper 107
alice amber 62
eli amber 55
| ivan amber 89
farah cobalt 112
chen birch 18
alice grove 119
dina cobalt 104
gus fable 46
hana grove 4
eli amber 55
| ivan fable 86
gus fable 98
chen juniper 17
kim ember 86
jules cobalt 74
lina birch 97
bruno delta 29
kim ember 3
| ivan fable 86
gus fable 98
chen juniper 17
kim ember 86
jules cobalt 74
lina birch 97
bruno delta 29
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001733-p1 | Retain only the initial line for every unique value in the first column, keeping the original order. | !seen[$1]++ | ivan amber 89
farah cobalt 112
chen birch 18
alice grove 119
dina cobalt 104
gus fable 46
hana grove 4
hana juniper 107
alice amber 62
eli amber 55
| ivan amber 89
farah cobalt 112
chen birch 18
alice grove 119
dina cobalt 104
gus fable 46
hana grove 4
eli amber 55
| ivan fable 86
gus fable 98
chen juniper 17
kim ember 86
jules cobalt 74
lina birch 97
bruno delta 29
kim ember 3
| ivan fable 86
gus fable 98
chen juniper 17
kim ember 86
jules cobalt 74
lina birch 97
bruno delta 29
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001733 | qwen/qwen3.7-plus |
awkweave-0001734 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 26 delta
hana 15 delta
jules 5 birch
jules 26 fable
dina 27 fable
hana 25 indigo
gus 3 ember
ivan 1 indigo
chen 2 juniper
| lina 26
hana 41
jules 46
jules 72
dina 99
hana 124
gus 127
ivan 128
chen 130
| dina 13 amber
jules 25 ember
ivan 28 grove
farah 6 amber
jules 18 indigo
chen 23 cobalt
ivan 10 delta
ivan 16 grove
| dina 13
jules 38
ivan 66
farah 72
jules 90
chen 113
ivan 123
ivan 139
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001734-p1 | Output the first column alongside the cumulative total of the second column for each entry, separated by a space. | {s+=$2;print $1,s} | lina 26 delta
hana 15 delta
jules 5 birch
jules 26 fable
dina 27 fable
hana 25 indigo
gus 3 ember
ivan 1 indigo
chen 2 juniper
| lina 26
hana 41
jules 46
jules 72
dina 99
hana 124
gus 127
ivan 128
chen 130
| dina 13 amber
jules 25 ember
ivan 28 grove
farah 6 amber
jules 18 indigo
chen 23 cobalt
ivan 10 delta
ivan 16 grove
| dina 13
jules 38
ivan 66
farah 72
jules 90
chen 113
ivan 123
ivan 139
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001734 | qwen/qwen3.7-plus |
awkweave-0001735 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 29 6 cobalt
gus 28 5 delta
chen 4 13 fable
kim 23 25 harbor
eli 19 8 grove
dina 9 1 indigo
| lina 35
gus 33
chen 17
kim 48
eli 27
dina 10
| bruno 7 29 fable
chen 28 15 fable
ivan 30 16 harbor
lina 19 30 juniper
kim 8 12 fable
eli 15 15 cobalt
| bruno 36
chen 43
ivan 46
lina 49
kim 20
eli 30
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001735-p1 | For each row, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | lina 29 6 cobalt
gus 28 5 delta
chen 4 13 fable
kim 23 25 harbor
eli 19 8 grove
dina 9 1 indigo
| lina 35
gus 33
chen 17
kim 48
eli 27
dina 10
| bruno 7 29 fable
chen 28 15 fable
ivan 30 16 harbor
lina 19 30 juniper
kim 8 12 fable
eli 15 15 cobalt
| bruno 36
chen 43
ivan 46
lina 49
kim 20
eli 30
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001735 | qwen/qwen3.7-plus |
awkweave-0001736 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | gus 16
ivan 29
lina 2
ivan 17
lina 14
farah 29
eli 30
gus 6
ivan 7
| gus fail
ivan pass
lina fail
ivan fail
lina fail
farah pass
eli pass
gus fail
ivan fail
| alice 14
kim 10
lina 22
hana 28
alice 9
ivan 25
bruno 6
dina 23
| alice fail
kim fail
lina fail
hana pass
alice fail
ivan pass
bruno fail
dina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001736-p1 | Output the first column with 'pass' if the second column is 24 or greater, otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | gus 16
ivan 29
lina 2
ivan 17
lina 14
farah 29
eli 30
gus 6
ivan 7
| gus fail
ivan pass
lina fail
ivan fail
lina fail
farah pass
eli pass
gus fail
ivan fail
| alice 14
kim 10
lina 22
hana 28
alice 9
ivan 25
bruno 6
dina 23
| alice fail
kim fail
lina fail
hana pass
alice fail
ivan pass
bruno fail
dina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001736 | qwen/qwen3.7-plus |
awkweave-0001737 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | alice fable 106
hana indigo 41
chen delta 10
ivan delta 46
bruno juniper 3
jules amber 118
| ALICE
HANA
CHEN
IVAN
BRUNO
JULES
| bruno birch 99
kim delta 46
farah birch 47
alice cobalt 58
dina indigo 104
kim indigo 58
kim amber 72
kim delta 33
farah harbor 0
alice juniper 104
| BRUNO
KIM
FARAH
ALICE
DINA
KIM
KIM
KIM
FARAH
ALICE
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001737-p1 | Transform the first column to uppercase and print solely that column. | {print toupper($1)} | alice fable 106
hana indigo 41
chen delta 10
ivan delta 46
bruno juniper 3
jules amber 118
| ALICE
HANA
CHEN
IVAN
BRUNO
JULES
| bruno birch 99
kim delta 46
farah birch 47
alice cobalt 58
dina indigo 104
kim indigo 58
kim amber 72
kim delta 33
farah harbor 0
alice juniper 104
| BRUNO
KIM
FARAH
ALICE
DINA
KIM
KIM
KIM
FARAH
ALICE
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001737 | qwen/qwen3.7-plus |
awkweave-0001738 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | indigo 21
delta 82
amber 114
indigo 75
ember 43
harbor 101
juniper 86
harbor 88
| ndig
elta
mber
ndig
mber
arbo
unip
arbo
| indigo 63
fable 110
harbor 15
delta 113
indigo 13
fable 47
juniper 61
birch 24
| ndig
able
arbo
elta
ndig
able
unip
irch
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001738-p1 | Extract and print a substring of 4 characters from the first column, beginning at the second character. | {print substr($1,2,4)} | indigo 21
delta 82
amber 114
indigo 75
ember 43
harbor 101
juniper 86
harbor 88
| ndig
elta
mber
ndig
mber
arbo
unip
arbo
| indigo 63
fable 110
harbor 15
delta 113
indigo 13
fable 47
juniper 61
birch 24
| ndig
able
arbo
elta
ndig
able
unip
irch
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001738 | qwen/qwen3.7-plus |
awkweave-0001739 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_birch 97
fable_indigo 96
amber_amber 65
cobalt_indigo 6
birch_grove 41
harbor_amber 110
| harbor birch
fable indigo
amber amber
cobalt indigo
birch grove
harbor amber
| amber_indigo 66
indigo_cobalt 89
birch_ember 105
indigo_grove 97
juniper_cobalt 73
harbor_cobalt 79
| amber indigo
indigo cobalt
birch ember
indigo grove
juniper cobalt
harbor cobalt
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001739-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | harbor_birch 97
fable_indigo 96
amber_amber 65
cobalt_indigo 6
birch_grove 41
harbor_amber 110
| harbor birch
fable indigo
amber amber
cobalt indigo
birch grove
harbor amber
| amber_indigo 66
indigo_cobalt 89
birch_ember 105
indigo_grove 97
juniper_cobalt 73
harbor_cobalt 79
| amber indigo
indigo cobalt
birch ember
indigo grove
juniper cobalt
harbor cobalt
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001739 | qwen/qwen3.7-plus |
awkweave-0001740 | 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 birch 20 active
alice delta 70 active
eli indigo 120 closed
farah ember 42 active
alice grove 12 paused
eli cobalt 41 pending
alice amber 102 failed
gus ember 4 ready
| active 20 birch gus
active 70 delta alice
closed 120 indigo eli
active 42 ember farah
paused 12 grove alice
pending 41 cobalt eli
failed 102 amber alice
ready 4 ember gus
| eli harbor 18 active
jules birch 94 pending
lina indigo 64 failed
gus grove 62 paused
farah birch 62 failed
ivan amber 50 failed
gus grove 60 pending
hana amber 7 paused
kim amber 120 closed
| active 18 harbor eli
pending 94 birch jules
failed 64 indigo lina
paused 62 grove gus
failed 62 birch farah
failed 50 amber ivan
pending 60 grove gus
paused 7 amber hana
closed 120 amber kim
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001740-p1 | Invert the sequence of fields for every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | gus birch 20 active
alice delta 70 active
eli indigo 120 closed
farah ember 42 active
alice grove 12 paused
eli cobalt 41 pending
alice amber 102 failed
gus ember 4 ready
| active 20 birch gus
active 70 delta alice
closed 120 indigo eli
active 42 ember farah
paused 12 grove alice
pending 41 cobalt eli
failed 102 amber alice
ready 4 ember gus
| eli harbor 18 active
jules birch 94 pending
lina indigo 64 failed
gus grove 62 paused
farah birch 62 failed
ivan amber 50 failed
gus grove 60 pending
hana amber 7 paused
kim amber 120 closed
| active 18 harbor eli
pending 94 birch jules
failed 64 indigo lina
paused 62 grove gus
failed 62 birch farah
failed 50 amber ivan
pending 60 grove gus
paused 7 amber hana
closed 120 amber kim
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001740 | qwen/qwen3.7-plus |
awkweave-0001741 | Print the number of whitespace-separated fields on each line. | {print NF} | gus birch 31 active
farah harbor 20 closed
eli amber 62 pending
jules indigo 20 closed
kim indigo 87 active
hana fable 41 ready
kim cobalt 10 failed
eli delta 11 closed
| 4
4
4
4
4
4
4
4
| kim delta 59 pending
eli delta 97 ready
alice delta 105 paused
gus ember 38 closed
lina delta 120 failed
dina delta 90 closed
jules ember 78 closed
lina indigo 111 pending
ivan indigo 41 failed
chen juniper 36 ready
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001741-p1 | Display the count of whitespace-delimited fields for each line. | {print NF} | gus birch 31 active
farah harbor 20 closed
eli amber 62 pending
jules indigo 20 closed
kim indigo 87 active
hana fable 41 ready
kim cobalt 10 failed
eli delta 11 closed
| 4
4
4
4
4
4
4
4
| kim delta 59 pending
eli delta 97 ready
alice delta 105 paused
gus ember 38 closed
lina delta 120 failed
dina delta 90 closed
jules ember 78 closed
lina indigo 111 pending
ivan indigo 41 failed
chen juniper 36 ready
| 4
4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001741 | qwen/qwen3.7-plus |
awkweave-0001742 | 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]]} | alice gamma 109
eli gamma 37
alice delta 84
lina gamma 2
dina gamma 52
jules alpha 73
ivan alpha 16
jules delta 5
ivan delta 31
| gamma 4
delta 3
alpha 2
| gus delta 19
chen gamma 107
jules beta 12
chen alpha 61
hana beta 105
hana beta 83
farah beta 63
eli alpha 91
| delta 1
gamma 1
beta 4
alpha 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001742-p1 | Tally the occurrences of each unique value in column 2 and output the value alongside its count, maintaining the order in which 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]]} | alice gamma 109
eli gamma 37
alice delta 84
lina gamma 2
dina gamma 52
jules alpha 73
ivan alpha 16
jules delta 5
ivan delta 31
| gamma 4
delta 3
alpha 2
| gus delta 19
chen gamma 107
jules beta 12
chen alpha 61
hana beta 105
hana beta 83
farah beta 63
eli alpha 91
| delta 1
gamma 1
beta 4
alpha 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001742 | qwen/qwen3.7-plus |
awkweave-0001743 | 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]]} | farah beta 24
gus beta 25
farah beta 17
dina alpha 23
bruno beta 26
jules gamma 16
farah alpha 18
ivan gamma 16
| beta 92
alpha 41
gamma 32
| bruno beta 3
chen beta 4
hana gamma 9
alice alpha 28
hana delta 2
chen alpha 6
| beta 7
gamma 9
alpha 34
delta 2
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001743-p1 | 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]]} | farah beta 24
gus beta 25
farah beta 17
dina alpha 23
bruno beta 26
jules gamma 16
farah alpha 18
ivan gamma 16
| beta 92
alpha 41
gamma 32
| bruno beta 3
chen beta 4
hana gamma 9
alice alpha 28
hana delta 2
chen alpha 6
| beta 7
gamma 9
alpha 34
delta 2
| sum_by_key | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001743 | qwen/qwen3.7-plus |
awkweave-0001744 | 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 harbor 51
gamma grove 117
gamma harbor 102
alpha birch 12
gamma harbor 107
alpha amber 115
gamma harbor 58
alpha harbor 118
delta amber 82
| delta 2
gamma 4
alpha 3
| delta harbor 28
delta fable 56
gamma amber 61
beta birch 24
delta juniper 94
alpha juniper 38
gamma delta 104
beta birch 74
| delta 3
gamma 2
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001744-p1 | Identify duplicate entries in column 1 and output each repeated value with its frequency, sorted by the order of first occurrence. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | delta harbor 51
gamma grove 117
gamma harbor 102
alpha birch 12
gamma harbor 107
alpha amber 115
gamma harbor 58
alpha harbor 118
delta amber 82
| delta 2
gamma 4
alpha 3
| delta harbor 28
delta fable 56
gamma amber 61
beta birch 24
delta juniper 94
alpha juniper 38
gamma delta 104
beta birch 74
| delta 3
gamma 2
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001744 | qwen/qwen3.7-plus |
awkweave-0001745 | The first row is a header. Print the state column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | record_id note display_name state
r001 hana 20 ready
r002 ivan 28 failed
r003 lina 30 closed
r004 alice 30 closed
r005 lina 9 paused
r006 farah 3 ready
r007 alice 24 failed
| ready
failed
closed
closed
paused
ready
failed
| record_id note display_name state
r001 jules 29 closed
r002 bruno 15 paused
r003 farah 30 paused
r004 hana 18 active
r005 gus 6 failed
r006 gus 26 failed
r007 alice 24 active
r008 lina 26 active
r009 eli 20 failed
r010 lina 9 ready
| closed
paused
paused
active
failed
failed
active
active
failed
ready
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001745-p1 | Treating the first line as a header, extract and print the state column from all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]} | record_id note display_name state
r001 hana 20 ready
r002 ivan 28 failed
r003 lina 30 closed
r004 alice 30 closed
r005 lina 9 paused
r006 farah 3 ready
r007 alice 24 failed
| ready
failed
closed
closed
paused
ready
failed
| record_id note display_name state
r001 jules 29 closed
r002 bruno 15 paused
r003 farah 30 paused
r004 hana 18 active
r005 gus 6 failed
r006 gus 26 failed
r007 alice 24 active
r008 lina 26 active
r009 eli 20 failed
r010 lina 9 ready
| closed
paused
paused
active
failed
failed
active
active
failed
ready
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001745 | qwen/qwen3.7-plus |
awkweave-0001746 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 alice 19 pending
r002 kim 30 ready
r003 farah 4 failed
r004 hana 19 ready
r005 jules 16 closed
r006 eli 1 paused
| alice
kim
hana
jules
| record_id display_name score state
r001 dina 6 closed
r002 hana 7 failed
r003 dina 29 paused
r004 eli 26 active
r005 bruno 18 ready
r006 hana 1 paused
r007 kim 4 active
| dina
eli
bruno
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001746-p1 | With the first row as a header, output the display_name field for any data row where the score exceeds 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 alice 19 pending
r002 kim 30 ready
r003 farah 4 failed
r004 hana 19 ready
r005 jules 16 closed
r006 eli 1 paused
| alice
kim
hana
jules
| record_id display_name score state
r001 dina 6 closed
r002 hana 7 failed
r003 dina 29 paused
r004 eli 26 active
r005 bruno 18 ready
r006 hana 1 paused
r007 kim 4 active
| dina
eli
bruno
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001746 | qwen/qwen3.7-plus |
awkweave-0001747 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 19 closed
alice 30 active
jules 25 closed
hana 14 ready
jules 30 closed
bruno 14 ready
chen 18 ready
| 19
30
25
14
30
14
18
| dina 19 closed
chen 15 pending
jules 30 ready
lina 30 active
ivan 7 closed
alice 23 ready
hana 17 failed
jules 12 closed
hana 5 failed
| 19
15
30
30
7
23
17
12
5
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001747-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 19 closed
alice 30 active
jules 25 closed
hana 14 ready
jules 30 closed
bruno 14 ready
chen 18 ready
| 19
30
25
14
30
14
18
| dina 19 closed
chen 15 pending
jules 30 ready
lina 30 active
ivan 7 closed
alice 23 ready
hana 17 failed
jules 12 closed
hana 5 failed
| 19
15
30
30
7
23
17
12
5
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001747 | qwen/qwen3.7-plus |
awkweave-0001748 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | chen,13,paused
bruno,17,closed
hana,12,paused
bruno,13,closed
gus,25,pending
dina,1,failed
farah,6,closed
chen,13,active
alice,8,closed
| chen
bruno
hana
bruno
gus
chen
| ivan,28,paused
bruno,20,active
ivan,9,active
bruno,17,closed
jules,16,ready
farah,12,active
alice,8,ready
farah,14,ready
jules,29,ready
kim,19,active
| ivan
bruno
bruno
jules
farah
farah
jules
kim
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001748-p1 | For simple comma-separated values without quoted fields, print the first column only if the value in the second column is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | chen,13,paused
bruno,17,closed
hana,12,paused
bruno,13,closed
gus,25,pending
dina,1,failed
farah,6,closed
chen,13,active
alice,8,closed
| chen
bruno
hana
bruno
gus
chen
| ivan,28,paused
bruno,20,active
ivan,9,active
bruno,17,closed
jules,16,ready
farah,12,active
alice,8,ready
farah,14,ready
jules,29,ready
kim,19,active
| ivan
bruno
bruno
jules
farah
farah
jules
kim
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001748 | qwen/qwen3.7-plus |
awkweave-0001749 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | dina ember 47
dina birch 44
gus ember 57
dina juniper 74
lina ember 14
alice birch 40
| dina ember 47
dina birch 44
gus ember 57
dina juniper 74
lina ember 14
alice birch 40
| gus juniper 30
chen birch 96
kim ember 110
hana birch 96
kim delta 28
kim amber 112
gus birch 81
chen amber 46
farah indigo 5
| gus juniper 30
chen birch 96
kim ember 110
hana birch 96
kim delta 28
kim amber 112
gus birch 81
chen amber 46
farah indigo 5
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001749-p1 | Remove leading and trailing whitespace from the text and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | dina ember 47
dina birch 44
gus ember 57
dina juniper 74
lina ember 14
alice birch 40
| dina ember 47
dina birch 44
gus ember 57
dina juniper 74
lina ember 14
alice birch 40
| gus juniper 30
chen birch 96
kim ember 110
hana birch 96
kim delta 28
kim amber 112
gus birch 81
chen amber 46
farah indigo 5
| gus juniper 30
chen birch 96
kim ember 110
hana birch 96
kim delta 28
kim amber 112
gus birch 81
chen amber 46
farah indigo 5
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001749 | qwen/qwen3.7-plus |
awkweave-0001750 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice grove 12 active
jules juniper 27 active
bruno fable 9 closed
ivan juniper 39 paused
hana grove 78 pending
hana indigo 119 active
lina fable 60 ready
ivan harbor 17 failed
| jules juniper 27 active
| bruno birch 55 pending
farah indigo 36 pending
dina ember 24 paused
alice cobalt 91 pending
dina delta 55 ready
jules indigo 110 active
chen harbor 84 pending
| farah indigo 36 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001750-p1 | Output the longest line from the input; in the event of a tie in length, select the line that appears earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice grove 12 active
jules juniper 27 active
bruno fable 9 closed
ivan juniper 39 paused
hana grove 78 pending
hana indigo 119 active
lina fable 60 ready
ivan harbor 17 failed
| jules juniper 27 active
| bruno birch 55 pending
farah indigo 36 pending
dina ember 24 paused
alice cobalt 91 pending
dina delta 55 ready
jules indigo 110 active
chen harbor 84 pending
| farah indigo 36 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001750 | qwen/qwen3.7-plus |
awkweave-0001751 | Print every 2nd line starting at line 1 (then line 3, and so on). | NR%2==1 | chen 51
farah 75
farah 71
chen 4
gus 115
gus 90
ivan 116
| chen 51
farah 71
gus 115
ivan 116
| chen 67
hana 37
gus 56
kim 62
hana 0
hana 88
lina 6
| chen 67
gus 56
hana 0
lina 6
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001751-p1 | Print lines 1, 3, 5, and so on, effectively outputting every other line starting from the first. | NR%2==1 | chen 51
farah 75
farah 71
chen 4
gus 115
gus 90
ivan 116
| chen 51
farah 71
gus 115
ivan 116
| chen 67
hana 37
gus 56
kim 62
hana 0
hana 88
lina 6
| chen 67
gus 56
hana 0
lina 6
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001751 | qwen/qwen3.7-plus |
awkweave-0001752 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | delta cobalt 26
beta birch 48
alpha juniper 12
gamma grove 13
alpha ember 26
gamma indigo 23
beta juniper 48
| 6
| gamma fable 50
alpha fable 49
delta indigo 29
alpha fable 86
beta harbor 59
beta ember 6
beta delta 116
delta birch 91
alpha fable 43
alpha harbor 64
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001752-p1 | Determine the number of unique values present in column 2 and output only this total count. | {if(!seen[$2]++)n++}END{print n+0} | delta cobalt 26
beta birch 48
alpha juniper 12
gamma grove 13
alpha ember 26
gamma indigo 23
beta juniper 48
| 6
| gamma fable 50
alpha fable 49
delta indigo 29
alpha fable 86
beta harbor 59
beta ember 6
beta delta 116
delta birch 91
alpha fable 43
alpha harbor 64
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001752 | qwen/qwen3.7-plus |
awkweave-0001753 | 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} | ivan 24 0
lina 24 19
jules 13 16
bruno 10 9
lina 28 20
jules 16 7
| lina 1.26
jules 0.81
bruno 1.11
lina 1.40
jules 2.29
| chen 24 0
chen 9 29
chen 1 6
bruno 21 25
lina 27 4
lina 15 17
ivan 12 7
hana 23 6
alice 22 9
alice 9 1
| chen 0.31
chen 0.17
bruno 0.84
lina 6.75
lina 0.88
ivan 1.71
hana 3.83
alice 2.44
alice 9.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001753-p1 | For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, omitting any rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | ivan 24 0
lina 24 19
jules 13 16
bruno 10 9
lina 28 20
jules 16 7
| lina 1.26
jules 0.81
bruno 1.11
lina 1.40
jules 2.29
| chen 24 0
chen 9 29
chen 1 6
bruno 21 25
lina 27 4
lina 15 17
ivan 12 7
hana 23 6
alice 22 9
alice 9 1
| chen 0.31
chen 0.17
bruno 0.84
lina 6.75
lina 0.88
ivan 1.71
hana 3.83
alice 2.44
alice 9.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001753 | qwen/qwen3.7-plus |
awkweave-0001754 | 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]} | alice amber 18
dina harbor 11
kim ember 26
hana birch 13
gus ember 18
eli amber 13
dina delta 12
| kim ember 26
alice amber 18
gus ember 18
| gus birch 7
lina indigo 12
alice juniper 6
eli grove 4
bruno grove 14
jules grove 15
alice grove 19
eli birch 15
| alice grove 19
jules grove 15
eli birch 15
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001754-p1 | Output the top three full records based on descending numeric values in column 3, maintaining 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]} | alice amber 18
dina harbor 11
kim ember 26
hana birch 13
gus ember 18
eli amber 13
dina delta 12
| kim ember 26
alice amber 18
gus ember 18
| gus birch 7
lina indigo 12
alice juniper 6
eli grove 4
bruno grove 14
jules grove 15
alice grove 19
eli birch 15
| alice grove 19
jules grove 15
eli birch 15
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001754 | qwen/qwen3.7-plus |
awkweave-0001755 | Print column 4 followed by column 1 for every record. | {print $4, $1} | 26 57 active chen eli
9 66 active eli lina
29 57 ready farah farah
58 100 paused eli lina
83 28 closed kim alice
96 4 active lina eli
70 56 closed bruno gus
| chen 26
eli 9
farah 29
eli 58
kim 83
lina 96
bruno 70
| 117 120 pending lina hana
2 52 pending bruno ivan
38 52 pending gus kim
12 27 active dina gus
78 18 ready lina kim
3 92 paused chen hana
119 92 active farah dina
| lina 117
bruno 2
gus 38
dina 12
lina 78
chen 3
farah 119
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001755-p1 | For each record, display column 4 followed by column 1. | {print $4, $1} | 26 57 active chen eli
9 66 active eli lina
29 57 ready farah farah
58 100 paused eli lina
83 28 closed kim alice
96 4 active lina eli
70 56 closed bruno gus
| chen 26
eli 9
farah 29
eli 58
kim 83
lina 96
bruno 70
| 117 120 pending lina hana
2 52 pending bruno ivan
38 52 pending gus kim
12 27 active dina gus
78 18 ready lina kim
3 92 paused chen hana
119 92 active farah dina
| lina 117
bruno 2
gus 38
dina 12
lina 78
chen 3
farah 119
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001755 | qwen/qwen3.7-plus |
awkweave-0001756 | Print the last field of every input line. | {print $NF} | 115 ready harbor eli pending
120 paused indigo hana paused
105 ready indigo lina ready
99 pending fable dina active
59 ready grove bruno active
84 active harbor kim closed
106 paused grove ivan closed
15 paused cobalt dina ready
118 failed cobalt bruno paused
| pending
paused
ready
active
active
closed
closed
ready
paused
| 2 closed delta hana ready
62 failed delta gus pending
91 paused indigo ivan active
49 active harbor ivan closed
53 paused delta gus failed
92 active birch eli active
67 ready amber dina pending
72 failed birch gus active
89 failed indigo chen failed
67 failed delta jules pending
| ready
pending
active
closed
failed
active
pending
active
failed
pending
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001756-p1 | Print the final field from every input line. | {print $NF} | 115 ready harbor eli pending
120 paused indigo hana paused
105 ready indigo lina ready
99 pending fable dina active
59 ready grove bruno active
84 active harbor kim closed
106 paused grove ivan closed
15 paused cobalt dina ready
118 failed cobalt bruno paused
| pending
paused
ready
active
active
closed
closed
ready
paused
| 2 closed delta hana ready
62 failed delta gus pending
91 paused indigo ivan active
49 active harbor ivan closed
53 paused delta gus failed
92 active birch eli active
67 ready amber dina pending
72 failed birch gus active
89 failed indigo chen failed
67 failed delta jules pending
| ready
pending
active
closed
failed
active
pending
active
failed
pending
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001756 | qwen/qwen3.7-plus |
awkweave-0001757 | Print the complete records where column 1 is greater than 76. | $1 > 76 | 82 eli closed ember failed
58 jules closed ember closed
89 lina failed amber pending
108 dina closed juniper pending
53 dina paused amber active
39 ivan pending indigo ready
87 eli paused juniper active
50 ivan paused juniper ready
48 farah failed birch failed
23 hana ready ember active
| 82 eli closed ember failed
89 lina failed amber pending
108 dina closed juniper pending
87 eli paused juniper active
| 116 alice active juniper ready
65 ivan active birch paused
23 eli paused amber pending
45 lina pending cobalt paused
108 bruno closed grove active
66 lina paused harbor pending
| 116 alice active juniper ready
108 bruno closed grove active
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001757-p1 | Display complete records where the value in column 1 exceeds 76. | $1 > 76 | 82 eli closed ember failed
58 jules closed ember closed
89 lina failed amber pending
108 dina closed juniper pending
53 dina paused amber active
39 ivan pending indigo ready
87 eli paused juniper active
50 ivan paused juniper ready
48 farah failed birch failed
23 hana ready ember active
| 82 eli closed ember failed
89 lina failed amber pending
108 dina closed juniper pending
87 eli paused juniper active
| 116 alice active juniper ready
65 ivan active birch paused
23 eli paused amber pending
45 lina pending cobalt paused
108 bruno closed grove active
66 lina paused harbor pending
| 116 alice active juniper ready
108 bruno closed grove active
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001757 | qwen/qwen3.7-plus |
awkweave-0001758 | Show whole lines whose 1st field is between 4 and 19, inclusive. | $1 >= 4 && $1 <= 19 | 14 chen bruno ember
26 eli eli juniper
30 jules dina indigo
9 jules chen grove
9 jules gus fable
15 kim kim grove
7 chen bruno juniper
| 14 chen bruno ember
9 jules chen grove
9 jules gus fable
15 kim kim grove
7 chen bruno juniper
| 15 hana jules indigo
13 kim eli birch
30 dina jules birch
1 chen ivan grove
28 bruno farah birch
26 kim lina delta
19 farah chen ember
14 ivan kim grove
12 kim jules cobalt
| 15 hana jules indigo
13 kim eli birch
19 farah chen ember
14 ivan kim grove
12 kim jules cobalt
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001758-p1 | Show entire lines where the first field falls within the inclusive range of 4 to 19. | $1 >= 4 && $1 <= 19 | 14 chen bruno ember
26 eli eli juniper
30 jules dina indigo
9 jules chen grove
9 jules gus fable
15 kim kim grove
7 chen bruno juniper
| 14 chen bruno ember
9 jules chen grove
9 jules gus fable
15 kim kim grove
7 chen bruno juniper
| 15 hana jules indigo
13 kim eli birch
30 dina jules birch
1 chen ivan grove
28 bruno farah birch
26 kim lina delta
19 farah chen ember
14 ivan kim grove
12 kim jules cobalt
| 15 hana jules indigo
13 kim eli birch
19 farah chen ember
14 ivan kim grove
12 kim jules cobalt
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001758 | qwen/qwen3.7-plus |
awkweave-0001759 | Print column 3 only for rows where column 4 is exactly paused. | $4 == "paused"{print $3} | 118 indigo bruno closed
88 fable alice failed
63 grove jules pending
44 cobalt gus pending
13 delta dina failed
67 ember bruno paused
94 fable farah ready
101 indigo ivan failed
94 harbor kim ready
| bruno
| 72 fable lina failed
33 juniper dina active
57 cobalt hana paused
119 indigo gus active
2 cobalt jules paused
24 cobalt eli closed
| hana
jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001759-p1 | Output only column 3 for rows where column 4 equals 'paused'. | $4 == "paused"{print $3} | 118 indigo bruno closed
88 fable alice failed
63 grove jules pending
44 cobalt gus pending
13 delta dina failed
67 ember bruno paused
94 fable farah ready
101 indigo ivan failed
94 harbor kim ready
| bruno
| 72 fable lina failed
33 juniper dina active
57 cobalt hana paused
119 indigo gus active
2 cobalt jules paused
24 cobalt eli closed
| hana
jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001759 | qwen/qwen3.7-plus |
awkweave-0001760 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR harbor 39
ERROR amber 9
WARN fable 31
ERROR birch 74
WARN fable 28
INFO fable 88
ERROR harbor 100
WARN fable 43
WARN birch 51
ERROR harbor 96
| WARN fable 31
WARN fable 28
WARN fable 43
WARN birch 51
| ERROR amber 56
WARN birch 21
WARN harbor 80
WARN grove 8
INFO grove 97
ERROR amber 111
INFO harbor 96
INFO fable 34
DEBUG cobalt 80
DEBUG juniper 103
| WARN birch 21
WARN harbor 80
WARN grove 8
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001760-p1 | Print all fields from lines where the first field starts with 'WARN'. | $1 ~ /^WARN/ | ERROR harbor 39
ERROR amber 9
WARN fable 31
ERROR birch 74
WARN fable 28
INFO fable 88
ERROR harbor 100
WARN fable 43
WARN birch 51
ERROR harbor 96
| WARN fable 31
WARN fable 28
WARN fable 43
WARN birch 51
| ERROR amber 56
WARN birch 21
WARN harbor 80
WARN grove 8
INFO grove 97
ERROR amber 111
INFO harbor 96
INFO fable 34
DEBUG cobalt 80
DEBUG juniper 103
| WARN birch 21
WARN harbor 80
WARN grove 8
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001760 | qwen/qwen3.7-plus |
awkweave-0001761 | Print every line except those containing the exact text delta. | $0 !~ /delta/ | fable 97 closed
fable 39 ready
juniper 25 closed
ember 105 paused
harbor 23 failed
fable 100 closed
delta 999 active
| fable 97 closed
fable 39 ready
juniper 25 closed
ember 105 paused
harbor 23 failed
fable 100 closed
| indigo 100 failed
ember 98 active
juniper 1 failed
indigo 79 active
amber 93 active
indigo 86 pending
indigo 44 ready
amber 72 closed
ember 15 paused
delta 999 active
| indigo 100 failed
ember 98 active
juniper 1 failed
indigo 79 active
amber 93 active
indigo 86 pending
indigo 44 ready
amber 72 closed
ember 15 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001761-p1 | Print every line that does not contain the exact string 'delta'. | $0 !~ /delta/ | fable 97 closed
fable 39 ready
juniper 25 closed
ember 105 paused
harbor 23 failed
fable 100 closed
delta 999 active
| fable 97 closed
fable 39 ready
juniper 25 closed
ember 105 paused
harbor 23 failed
fable 100 closed
| indigo 100 failed
ember 98 active
juniper 1 failed
indigo 79 active
amber 93 active
indigo 86 pending
indigo 44 ready
amber 72 closed
ember 15 paused
delta 999 active
| indigo 100 failed
ember 98 active
juniper 1 failed
indigo 79 active
amber 93 active
indigo 86 pending
indigo 44 ready
amber 72 closed
ember 15 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001761 | qwen/qwen3.7-plus |
awkweave-0001762 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | jules fable 91
jules cobalt 119
gus birch 45
chen fable 87
gus fable 74
dina amber 42
farah grove 21
bruno delta 109
ivan harbor 66
jules birch 114
| chen fable 87
gus fable 74
dina amber 42
farah grove 21
| ivan grove 38
lina delta 84
eli fable 19
bruno indigo 95
chen ember 34
jules grove 83
| bruno indigo 95
chen ember 34
jules grove 83
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001762-p1 | Output lines 4 through 7, inclusive. | NR >= 4 && NR <= 7 | jules fable 91
jules cobalt 119
gus birch 45
chen fable 87
gus fable 74
dina amber 42
farah grove 21
bruno delta 109
ivan harbor 66
jules birch 114
| chen fable 87
gus fable 74
dina amber 42
farah grove 21
| ivan grove 38
lina delta 84
eli fable 19
bruno indigo 95
chen ember 34
jules grove 83
| bruno indigo 95
chen ember 34
jules grove 83
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001762 | qwen/qwen3.7-plus |
awkweave-0001763 | Output only the first 3 records. | NR <= 3 | alice 61 delta
kim 34 harbor
farah 88 juniper
eli 101 grove
gus 84 cobalt
alice 79 indigo
eli 85 juniper
dina 107 fable
| alice 61 delta
kim 34 harbor
farah 88 juniper
| ivan 102 grove
gus 107 harbor
farah 44 birch
dina 11 cobalt
gus 23 indigo
kim 55 grove
lina 40 ember
| ivan 102 grove
gus 107 harbor
farah 44 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001763-p1 | Display only the first three records. | NR <= 3 | alice 61 delta
kim 34 harbor
farah 88 juniper
eli 101 grove
gus 84 cobalt
alice 79 indigo
eli 85 juniper
dina 107 fable
| alice 61 delta
kim 34 harbor
farah 88 juniper
| ivan 102 grove
gus 107 harbor
farah 44 birch
dina 11 cobalt
gus 23 indigo
kim 55 grove
lina 40 ember
| ivan 102 grove
gus 107 harbor
farah 44 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001763 | qwen/qwen3.7-plus |
awkweave-0001764 | Skip the first line and print every remaining line unchanged. | NR > 1 | chen 50 ember
hana 91 harbor
ivan 87 delta
gus 54 cobalt
chen 51 harbor
lina 48 fable
ivan 114 grove
| hana 91 harbor
ivan 87 delta
gus 54 cobalt
chen 51 harbor
lina 48 fable
ivan 114 grove
| jules 78 birch
eli 70 indigo
dina 57 harbor
bruno 57 amber
hana 23 harbor
eli 15 amber
| eli 70 indigo
dina 57 harbor
bruno 57 amber
hana 23 harbor
eli 15 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001764-p1 | Omit the first line and print all subsequent lines exactly as they appear. | NR > 1 | chen 50 ember
hana 91 harbor
ivan 87 delta
gus 54 cobalt
chen 51 harbor
lina 48 fable
ivan 114 grove
| hana 91 harbor
ivan 87 delta
gus 54 cobalt
chen 51 harbor
lina 48 fable
ivan 114 grove
| jules 78 birch
eli 70 indigo
dina 57 harbor
bruno 57 amber
hana 23 harbor
eli 15 amber
| eli 70 indigo
dina 57 harbor
bruno 57 amber
hana 23 harbor
eli 15 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001764 | qwen/qwen3.7-plus |
awkweave-0001765 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | lina paused 77
eli paused 17
chen pending 44
eli active 80
kim pending 46
dina active 72
| 2
| eli pending 7
chen ready 61
farah closed 38
lina closed 60
dina active 18
lina pending 30
kim ready 97
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001765-p1 | Count the number of records containing 'active' in column 2, outputting 0 if none are found. | $2 == "active"{n++}END{print n+0} | lina paused 77
eli paused 17
chen pending 44
eli active 80
kim pending 46
dina active 72
| 2
| eli pending 7
chen ready 61
farah closed 38
lina closed 60
dina active 18
lina pending 30
kim ready 97
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001765 | qwen/qwen3.7-plus |
awkweave-0001766 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | kim amber 17
kim cobalt 16
kim amber 27
bruno indigo 3
eli cobalt 7
gus indigo 28
dina indigo 7
lina amber 16
farah grove 21
farah delta 19
| 161
| dina harbor 23
ivan fable 29
eli fable 27
kim delta 11
farah delta 22
jules ember 29
| 141
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001766-p1 | Compute and output the total of all integer values found in the third column. | {s+=$3}END{print s+0} | kim amber 17
kim cobalt 16
kim amber 27
bruno indigo 3
eli cobalt 7
gus indigo 28
dina indigo 7
lina amber 16
farah grove 21
farah delta 19
| 161
| dina harbor 23
ivan fable 29
eli fable 27
kim delta 11
farah delta 22
jules ember 29
| 141
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001766 | qwen/qwen3.7-plus |
awkweave-0001767 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli birch 26
alice amber 16
kim fable 30
lina delta 27
chen birch 30
gus indigo 4
lina harbor 12
| 20.71
| chen juniper 21
farah juniper 20
dina birch 9
bruno birch 16
farah indigo 8
dina indigo 9
dina indigo 1
dina amber 21
| 13.12
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001767-p1 | Output the average of the values in column 3, formatted to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | eli birch 26
alice amber 16
kim fable 30
lina delta 27
chen birch 30
gus indigo 4
lina harbor 12
| 20.71
| chen juniper 21
farah juniper 20
dina birch 9
bruno birch 16
farah indigo 8
dina indigo 9
dina indigo 1
dina amber 21
| 13.12
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001767 | qwen/qwen3.7-plus |
awkweave-0001768 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 delta bruno
11 amber chen
24 ember ivan
12 grove eli
18 cobalt chen
4 harbor eli
29 juniper bruno
21 birch hana
6 birch bruno
| 4
| 16 harbor farah
16 fable eli
10 cobalt kim
18 harbor alice
2 harbor farah
20 indigo farah
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001768-p1 | Identify and display the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 delta bruno
11 amber chen
24 ember ivan
12 grove eli
18 cobalt chen
4 harbor eli
29 juniper bruno
21 birch hana
6 birch bruno
| 4
| 16 harbor farah
16 fable eli
10 cobalt kim
18 harbor alice
2 harbor farah
20 indigo farah
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001768 | qwen/qwen3.7-plus |
awkweave-0001769 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove alice 2
fable eli 27
cobalt dina 17
indigo hana 15
juniper ivan 22
ember lina 14
| 27
| indigo jules 12
grove chen 18
delta jules 24
amber jules 23
juniper chen 28
birch kim 10
amber lina 23
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001769-p1 | Identify and display the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove alice 2
fable eli 27
cobalt dina 17
indigo hana 15
juniper ivan 22
ember lina 14
| 27
| indigo jules 12
grove chen 18
delta jules 24
amber jules 23
juniper chen 28
birch kim 10
amber lina 23
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001769 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.