|
Download code/report.md from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 7.51 kB
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/code/report.md
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/code/report.md
-
curl -L -o report.md https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/code/report.md
7.51 kB
Corpus selection report
Seed: 0
| split | target proportion | files | variables (annotation records) |
|---|---|---|---|
| train | 0.5 | 1086 | 24552 |
| validation | 0.2 | 434 | 8938 |
| test | 0.3 | 651 | 13526 |
train
| role | occurrences | files with role |
|---|---|---|
| container | 1876 | 666 |
| fixed_value | 14410 | 1070 |
| follower | 309 | 273 |
| gatherer | 490 | 294 |
| most_recent_holder | 571 | 319 |
| most_wanted_holder | 570 | 375 |
| one_way_flag | 502 | 289 |
| organizer | 296 | 254 |
| stepper | 1204 | 528 |
| temporary | 3350 | 898 |
| walker | 974 | 398 |
| language | files | variables |
|---|---|---|
| C | 259 | 4761 |
| C++ | 363 | 7796 |
| JavaScript | 146 | 3845 |
| Python | 318 | 8150 |
| role | language | occurrences | files |
|---|---|---|---|
| container | C | 228 | 97 |
| container | C++ | 650 | 237 |
| container | JavaScript | 295 | 98 |
| container | Python | 703 | 234 |
| fixed_value | C | 2913 | 255 |
| fixed_value | C++ | 4335 | 353 |
| fixed_value | JavaScript | 2625 | 145 |
| fixed_value | Python | 4537 | 317 |
| follower | C | 115 | 104 |
| follower | C++ | 112 | 97 |
| follower | JavaScript | 16 | 13 |
| follower | Python | 66 | 59 |
| gatherer | C | 180 | 103 |
| gatherer | C++ | 177 | 105 |
| gatherer | JavaScript | 30 | 18 |
| gatherer | Python | 103 | 68 |
| most_recent_holder | C | 93 | 63 |
| most_recent_holder | C++ | 149 | 89 |
| most_recent_holder | JavaScript | 36 | 26 |
| most_recent_holder | Python | 293 | 141 |
| most_wanted_holder | C | 123 | 75 |
| most_wanted_holder | C++ | 245 | 159 |
| most_wanted_holder | JavaScript | 60 | 42 |
| most_wanted_holder | Python | 142 | 99 |
| one_way_flag | C | 174 | 94 |
| one_way_flag | C++ | 160 | 91 |
| one_way_flag | JavaScript | 39 | 20 |
| one_way_flag | Python | 129 | 84 |
| organizer | C | 16 | 12 |
| organizer | C++ | 80 | 69 |
| organizer | JavaScript | 95 | 81 |
| organizer | Python | 105 | 92 |
| stepper | C | 284 | 118 |
| stepper | C++ | 521 | 205 |
| stepper | JavaScript | 120 | 66 |
| stepper | Python | 279 | 139 |
| temporary | C | 563 | 203 |
| temporary | C++ | 1129 | 302 |
| temporary | JavaScript | 477 | 124 |
| temporary | Python | 1181 | 269 |
| walker | C | 72 | 32 |
| walker | C++ | 238 | 112 |
| walker | JavaScript | 52 | 27 |
| walker | Python | 612 | 227 |
validation
| role | occurrences | files with role |
|---|---|---|
| container | 692 | 245 |
| fixed_value | 5302 | 415 |
| follower | 98 | 83 |
| gatherer | 219 | 101 |
| most_recent_holder | 123 | 30 |
| most_wanted_holder | 177 | 118 |
| one_way_flag | 200 | 114 |
| organizer | 118 | 98 |
| stepper | 421 | 194 |
| temporary | 1227 | 324 |
| walker | 361 | 146 |
| language | files | variables |
|---|---|---|
| C | 106 | 1777 |
| C++ | 141 | 2805 |
| JavaScript | 56 | 1317 |
| Python | 131 | 3039 |
| role | language | occurrences | files |
|---|---|---|---|
| container | C | 84 | 35 |
| container | C++ | 239 | 83 |
| container | JavaScript | 117 | 37 |
| container | Python | 252 | 90 |
| fixed_value | C | 1105 | 100 |
| fixed_value | C++ | 1579 | 131 |
| fixed_value | JavaScript | 894 | 56 |
| fixed_value | Python | 1724 | 128 |
| follower | C | 47 | 36 |
| follower | C++ | 27 | 25 |
| follower | JavaScript | 4 | 4 |
| follower | Python | 20 | 18 |
| gatherer | C | 78 | 34 |
| gatherer | C++ | 76 | 35 |
| gatherer | JavaScript | 16 | 6 |
| gatherer | Python | 49 | 26 |
| most_recent_holder | C | 8 | 5 |
| most_recent_holder | C++ | 7 | 4 |
| most_recent_holder | JavaScript | 3 | 2 |
| most_recent_holder | Python | 105 | 19 |
| most_wanted_holder | C | 37 | 23 |
| most_wanted_holder | C++ | 76 | 50 |
| most_wanted_holder | JavaScript | 17 | 14 |
| most_wanted_holder | Python | 47 | 31 |
| one_way_flag | C | 70 | 37 |
| one_way_flag | C++ | 67 | 35 |
| one_way_flag | JavaScript | 15 | 7 |
| one_way_flag | Python | 48 | 35 |
| organizer | C | 7 | 6 |
| organizer | C++ | 35 | 26 |
| organizer | JavaScript | 35 | 28 |
| organizer | Python | 41 | 38 |
| stepper | C | 87 | 45 |
| stepper | C++ | 190 | 74 |
| stepper | JavaScript | 40 | 22 |
| stepper | Python | 104 | 53 |
| temporary | C | 229 | 74 |
| temporary | C++ | 422 | 112 |
| temporary | JavaScript | 158 | 40 |
| temporary | Python | 418 | 98 |
| walker | C | 25 | 15 |
| walker | C++ | 87 | 39 |
| walker | JavaScript | 18 | 11 |
| walker | Python | 231 | 81 |
test
| role | occurrences | files with role |
|---|---|---|
| container | 1031 | 363 |
| fixed_value | 8000 | 632 |
| follower | 170 | 144 |
| gatherer | 291 | 169 |
| most_recent_holder | 311 | 120 |
| most_wanted_holder | 253 | 168 |
| one_way_flag | 298 | 170 |
| organizer | 179 | 149 |
| stepper | 633 | 286 |
| temporary | 1823 | 496 |
| walker | 537 | 220 |
| language | files | variables |
|---|---|---|
| C | 158 | 2735 |
| C++ | 221 | 4209 |
| JavaScript | 81 | 2182 |
| Python | 191 | 4400 |
| role | language | occurrences | files |
|---|---|---|---|
| container | C | 118 | 55 |
| container | C++ | 350 | 124 |
| container | JavaScript | 170 | 56 |
| container | Python | 393 | 128 |
| fixed_value | C | 1713 | 152 |
| fixed_value | C++ | 2372 | 214 |
| fixed_value | JavaScript | 1531 | 81 |
| fixed_value | Python | 2384 | 185 |
| follower | C | 64 | 54 |
| follower | C++ | 59 | 51 |
| follower | JavaScript | 10 | 6 |
| follower | Python | 37 | 33 |
| gatherer | C | 103 | 57 |
| gatherer | C++ | 108 | 60 |
| gatherer | JavaScript | 15 | 10 |
| gatherer | Python | 65 | 42 |
| most_recent_holder | C | 46 | 25 |
| most_recent_holder | C++ | 66 | 33 |
| most_recent_holder | JavaScript | 19 | 9 |
| most_recent_holder | Python | 180 | 53 |
| most_wanted_holder | C | 55 | 35 |
| most_wanted_holder | C++ | 113 | 73 |
| most_wanted_holder | JavaScript | 21 | 17 |
| most_wanted_holder | Python | 64 | 43 |
| one_way_flag | C | 99 | 55 |
| one_way_flag | C++ | 99 | 53 |
| one_way_flag | JavaScript | 23 | 13 |
| one_way_flag | Python | 77 | 49 |
| organizer | C | 9 | 8 |
| organizer | C++ | 52 | 41 |
| organizer | JavaScript | 57 | 45 |
| organizer | Python | 61 | 55 |
| stepper | C | 134 | 68 |
| stepper | C++ | 285 | 109 |
| stepper | JavaScript | 60 | 34 |
| stepper | Python | 154 | 75 |
| temporary | C | 354 | 114 |
| temporary | C++ | 580 | 168 |
| temporary | JavaScript | 252 | 64 |
| temporary | Python | 637 | 150 |
| walker | C | 40 | 20 |
| walker | C++ | 125 | 57 |
| walker | JavaScript | 24 | 15 |
| walker | Python | 348 | 128 |
No-role variables
- train: 18630
- validation: 7416
- test: 11196
Split warnings
- none
Selection coverage
Target role count: 1000 Roles below target: follower, organizer
Pool funnel
- streamed: 1003462
- structurally_accepted: 150000
- annotated: 123194
- pool_files: 123194
- selected: 2171
- rejected_by_reason: {'extension': 226893, 'effective_loc.max': 118931, 'effective_loc.min': 31102, 'n_tokens.min': 15951, 'identifier_density.min': 15575, 'n_assignments.min': 12438, 'avg_line_length.max': 5936, 'n_tokens.max': 4028, 'max_line_length.max': 3384, 'n_calls.min': 3258, 'branch_density.max': 2683, 'parse_error_ratio.max': 2538, 'assignment_density.min': 2503, 'assignment_density.max': 2472, 'n_functions.max': 2261, 'n_branches.max': 2246, 'identifier_density.max': 2221, 'n_functions.min': 2145, 'n_assignments.max': 2130, 'n_updates.max': 1894, 'n_loops.max': 1410, 'n_calls.max': 1401, 'update_density.max': 1372, 'loop_density.max': 1259, 'n_identifiers.min': 1154, 'n_identifiers.max': 1117, 'non_ascii_ratio.max': 216}