OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/seafloor/daxos",4 "url": "https://github.com/seafloor/daxos",5 "host": "github.com",6 "commit": "7babf845133b2b51b9b9994bc5f854f5407b4cb5",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "97d1d3308d2d3263ced9db4b1046f04e100d12e552f9d39a0a94ab669315d82c",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 22,18 "row": 1389519 },20 {21 "path": "README.md",22 "sha256": "4d87c82ab54b830ac63543222a615cb58cf5c6e44fed583a9045b2e24bbfe98f",23 "language": "Text",24 "lines": 142,25 "truncated": false,26 "block": 24,27 "row": 83328 },29 {30 "path": "daxos/boruta.py",31 "sha256": "273d967a78c016e7cdac34c01d4d46572600fd43477662b7b13f95739157d33e",32 "language": "Python",33 "lines": 202,34 "truncated": false,35 "block": 23,36 "row": 903337 },38 {39 "path": "daxos/crossvalidate.py",40 "sha256": "d46333b264ab43a072439e2f371d5ec82361c16c143bd90fe99b35f64285aa63",41 "language": "Python",42 "lines": 412,43 "truncated": false,44 "block": 23,45 "row": 1264046 },47 {48 "path": "daxos/deconfound.py",49 "sha256": "813dba1935b7b1bf3ac36260204b122203172021cea429e1f5915ab47b676fe5",50 "language": "Python",51 "lines": 102,52 "truncated": false,53 "block": 23,54 "row": 359855 },56 {57 "path": "daxos/distribute.py",58 "sha256": "fe047db5ee35b18b081f7b324c960dfbcc1bb96c247a40478ec54ddb9115801d",59 "language": "Python",60 "lines": 101,61 "truncated": false,62 "block": 23,63 "row": 613664 },65 {66 "path": "daxos/explain.py",67 "sha256": "9dae76c6b30fda19770b7af2613b0abb9a207b302c3041dae865b8b56e8142a3",68 "language": "Python",69 "lines": 101,70 "truncated": false,71 "block": 23,72 "row": 631373 },74 {75 "path": "daxos/read.py",76 "sha256": "9f08cc4b305f2a24c3c2af69cac13c899088dce77ad776080b519777355c6ae6",77 "language": "Python",78 "lines": 215,79 "truncated": false,80 "block": 23,81 "row": 909582 },83 {84 "path": "daxos/scale.py",85 "sha256": "b0b1ac9a24e017f72985e8cf563b5b85bedac1745820596a2d82decf024b1caf",86 "language": "Python",87 "lines": 30,88 "truncated": false,89 "block": 22,90 "row": 2964291 },92 {93 "path": "daxos/scoring.py",94 "sha256": "6dda7a8c560cf8a4e2c8e8c4af0bf340d8de73aac01cbedb1c10a47e59a09960",95 "language": "Python",96 "lines": 212,97 "truncated": false,98 "block": 23,99 "row": 9450100 },101 {102 "path": "daxos/tests/test_utils.py",103 "sha256": "f95c9d45ec0643e57d5cf0a051ccd230efb693f0c934e3c3873e3d4431b282af",104 "language": "Python",105 "lines": 24,106 "truncated": false,107 "block": 22,108 "row": 27626109 },110 {111 "path": "daxos/utils.py",112 "sha256": "d85e724ffb60db4fa26049b04450eb5cf276b9949e81d4180855f21e8423fa0d",113 "language": "Python",114 "lines": 74,115 "truncated": false,116 "block": 23,117 "row": 769118 },119 {120 "path": "examples/cluster/test_cluster_cpus.py",121 "sha256": "bf0821c809aeb6ac6dc79b6116515e8755e1a731480128e2a73c1bd0a248d141",122 "language": "Python",123 "lines": 39,124 "truncated": false,125 "block": 22,126 "row": 28701127 },128 {129 "path": "examples/cluster/test_cluster_gpus.py",130 "sha256": "0bec3dc637c08d82467a0a99475bc3cecce6cb09b76f7fdfcafbe2268026d63d",131 "language": "Python",132 "lines": 63,133 "truncated": false,134 "block": 23,135 "row": 1265136 },137 {138 "path": "examples/cpu/benchmark_cpu_memory.py",139 "sha256": "1e267798cdfd60332b2da34a026490eaee49803736b6ae3d8186bc1bb8ad7826",140 "language": "Python",141 "lines": 107,142 "truncated": false,143 "block": 23,144 "row": 4356145 },146 {147 "path": "examples/data/create_example_data.sh",148 "sha256": "f6061532c57b76684d4ccdad03a6add15b5b526a0db8c3ff976a0e707c05369e",149 "language": "Shell",150 "lines": 8,151 "truncated": false,152 "block": 23,153 "row": 17349154 },155 {156 "path": "examples/data/setup_data.py",157 "sha256": "8c0e4bc0616741b72cd2df778e83d53cb17e071c20c97e6f656c47f8e461b3c5",158 "language": "Python",159 "lines": 202,160 "truncated": false,161 "block": 23,162 "row": 8667163 },164 {165 "path": "examples/gpu/benchmark_gpu_memory.py",166 "sha256": "57b46ae9b569917de538c72c03b8e9bd886244c1312733bffe02d68d7acb4c59",167 "language": "Python",168 "lines": 100,169 "truncated": false,170 "block": 23,171 "row": 3346172 },173 {174 "path": "examples/gpu/extended_gpu_check.py",175 "sha256": "5119c271221318fa3cbdccb2dec4662278ba0988bc3d6591d1a688773f8d21cb",176 "language": "Python",177 "lines": 102,178 "truncated": false,179 "block": 23,180 "row": 4006181 },182 {183 "path": "examples/gpu/minimal_gpu_check.py",184 "sha256": "9cdcd496df3e14b4fd84fa96cbd5f0c05736e8dd2582ce4f7cefbea11f49781a",185 "language": "Python",186 "lines": 10,187 "truncated": false,188 "block": 22,189 "row": 26486190 },191 {192 "path": "scripts/adjust_hdf5_for_covariates.py",193 "sha256": "ed4fd1794f653ae52ff6930330c7751d1489a1d153ef2ff35cc54d2d751d04fd",194 "language": "Python",195 "lines": 94,196 "truncated": false,197 "block": 23,198 "row": 4950199 },200 {201 "path": "scripts/boruta_shap.py",202 "sha256": "da2c66dc00621d62ba007d8f08692b7ca78a647645c20060ae8dc151144d702f",203 "language": "Python",204 "lines": 86,205 "truncated": false,206 "block": 23,207 "row": 4995208 },209 {210 "path": "scripts/convert_to_hdf5.py",211 "sha256": "10bac29da685ce9d5b16c6139eeb692c766ef90ce5d886909028c895c5a3f490",212 "language": "Python",213 "lines": 32,214 "truncated": false,215 "block": 23,216 "row": 541217 },218 {219 "path": "scripts/cv.py",220 "sha256": "c44056a9e666bad5859a2e3ba63ff41ae4f80587c1e6903118deaee37e1b4313",221 "language": "Python",222 "lines": 140,223 "truncated": false,224 "block": 23,225 "row": 9023226 },227 {228 "path": "scripts/predict.py",229 "sha256": "0e6b516fdda64db3389300ae9a5205016274d455974e1a6d8342e118ce0702e9",230 "language": "Python",231 "lines": 177,232 "truncated": false,233 "block": 23,234 "row": 10476235 },236 {237 "path": "scripts/refit.py",238 "sha256": "69eb2ed4155f145098cb1748f2a5d8528a6b40553a86a7ef59a5f41367d749df",239 "language": "Python",240 "lines": 256,241 "truncated": false,242 "block": 23,243 "row": 12240244 },245 {246 "path": "scripts/submit_adjust_hdf5_for_covars.sh",247 "sha256": "9f35f93f19fdbb772176f35540247dad76028a360c1d0347a9f12a17510b20da",248 "language": "Shell",249 "lines": 32,250 "truncated": false,251 "block": 23,252 "row": 17761253 },254 {255 "path": "scripts/submit_boruta_shap.sh",256 "sha256": "1316a63cde358f58029517c7248c23c0dbc7b32371795e0f8853aefd5f961f35",257 "language": "Shell",258 "lines": 36,259 "truncated": false,260 "block": 23,261 "row": 17768262 },263 {264 "path": "scripts/submit_daxg.sh",265 "sha256": "21faac106c93bb1187dd9dfbf180de8f713f0f9bfe41b439296886a7e8fbe2fd",266 "language": "Shell",267 "lines": 542,268 "truncated": false,269 "block": 24,270 "row": 186271 },272 {273 "path": "scripts/submit_plink_to_hdf5.sh",274 "sha256": "cf877870205b80b89e637838bbb3f133aa051fb1de228a2e9487e43cd79beed9",275 "language": "Shell",276 "lines": 81,277 "truncated": false,278 "block": 23,279 "row": 18246280 },281 {282 "path": "scripts/subset_hdf5.py",283 "sha256": "22af1597cc78d0aecb89a13860f4dac1919270416ab23fde65f34d8f9043adc4",284 "language": "Python",285 "lines": 29,286 "truncated": false,287 "block": 23,288 "row": 329289 },290 {291 "path": "tests/data/create_test_data.py",292 "sha256": "3ae659aeaa0755fb00290fb379dfbd0db849fe365ce75a70fb1122ba62f6aaaf",293 "language": "Python",294 "lines": 77,295 "truncated": false,296 "block": 23,297 "row": 2163298 },299 {300 "path": "tests/test_boruta.py",301 "sha256": "755460cc3fb563d616e7677c75ea0277c6fa3ae7569f57f7063c18cdb4dbbad5",302 "language": "Python",303 "lines": 73,304 "truncated": false,305 "block": 23,306 "row": 2775307 },308 {309 "path": "tests/test_crossvalidate.py",310 "sha256": "76bbb032b1dbde24fb2e947ca5fc479df151449acfc786b7bd564cca03162bb8",311 "language": "Python",312 "lines": 102,313 "truncated": false,314 "block": 23,315 "row": 5175316 },317 {318 "path": "tests/test_deconfound.py",319 "sha256": "c1f8ed96d5659755c1339e0f920d6ee9418405b43916446fa90b30dffc0f0bd2",320 "language": "Python",321 "lines": 85,322 "truncated": false,323 "block": 23,324 "row": 3446325 },326 {327 "path": "tests/test_distribute.py",328 "sha256": "c9558b8114ee955e8cf704634501e49572cbe8d526c39e88eafbf077d716d0f4",329 "language": "Python",330 "lines": 54,331 "truncated": false,332 "block": 23,333 "row": 2295334 },335 {336 "path": "tests/test_explain.py",337 "sha256": "d653e69e4d0e14b5b0c6d77817a851c1e0a551e24df3d9455cdc52ea73246e78",338 "language": "Python",339 "lines": 84,340 "truncated": false,341 "block": 23,342 "row": 3731343 },344 {345 "path": "tests/test_read.py",346 "sha256": "34de72f5f8f0eda7ce588d31acc074c880578f4fff56cb4153e16da90f01170b",347 "language": "Python",348 "lines": 154,349 "truncated": false,350 "block": 23,351 "row": 6778352 },353 {354 "path": "tests/test_scale.py",355 "sha256": "4b0890b7434f841aee9354cc2ad18560eb1902c6afc5fcc0ee75d32e29662b19",356 "language": "Python",357 "lines": 58,358 "truncated": false,359 "block": 23,360 "row": 2047361 },362 {363 "path": "tests/test_scoring.py",364 "sha256": "a2e76b6037e87f9059abb402104d97cc18136b89016c13ab1720338987d63a29",365 "language": "Python",366 "lines": 80,367 "truncated": false,368 "block": 23,369 "row": 2491370 },371 {372 "path": "tests/test_utils.py",373 "sha256": "1a313aec0efb3e9b485d7f4d9691266d2f289b67b2e8a71279b482132748975f",374 "language": "Python",375 "lines": 25,376 "truncated": false,377 "block": 22,378 "row": 28115379 },380 {381 "path": "workflows/preprocessing/scripts/adjust_hdf5_for_covariates.py",382 "sha256": "e10c51ea84906d328d3e0b632571309c4ace0cacb7ade0073e2b9795cfcadf3b",383 "language": "Python",384 "lines": 316,385 "truncated": false,386 "block": 23,387 "row": 10930388 },389 {390 "path": "workflows/preprocessing/scripts/raw_to_hdf5.py",391 "sha256": "39497697e66c9d3732f64e80642954cdcb5f035d6d61ef5f694bf10eb42a552d",392 "language": "Python",393 "lines": 171,394 "truncated": false,395 "block": 23,396 "row": 8341397 },398 {399 "path": "workflows/preprocessing/scripts/split_hdf5.py",400 "sha256": "a4ac30250aaf1f405caea9214b895900c31eeaa2e468a0e3ea3090c0f6e56d80",401 "language": "Python",402 "lines": 116,403 "truncated": false,404 "block": 23,405 "row": 5404406 },407 {408 "path": "workflows/preprocessing/scripts/split_ids.py",409 "sha256": "6073f35090a95493017ee4e845634246ebdb195e757fb2c68b5f06a3a4c74e15",410 "language": "Python",411 "lines": 61,412 "truncated": false,413 "block": 23,414 "row": 3011415 },416 {417 "path": "workflows/training/scripts/grab_gpus.py",418 "sha256": "b8e0b15a43dce8d8a533b89dfb7e5b1d39afb5dd1fe7498727c5315e8445f6f1",419 "language": "Python",420 "lines": 45,421 "truncated": false,422 "block": 23,423 "row": 905424 },425 {426 "path": "workflows/training/scripts/setup_cpus.py",427 "sha256": "b386807b6e2ad954be60fca31cc96926c4c6cc9a11c299c29c0ef16dfd369ddc",428 "language": "Python",429 "lines": 32,430 "truncated": false,431 "block": 22,432 "row": 29102433 },434 {435 "path": "workflows/training/scripts/setup_gpus.py",436 "sha256": "ca8b0f52d2200760c2a475617b8b44de818464d66ee5bdada11d7314ecfd4818",437 "language": "Python",438 "lines": 36,439 "truncated": false,440 "block": 22,441 "row": 29689442 }443 ]444}