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/ixsluo/crystalflow",4 "url": "https://github.com/ixsluo/CrystalFlow",5 "host": "github.com",6 "commit": "9c25ff0245d787efd87c9d1d797a8968443608cc",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "65e15bc156a9228ab7eeb8381b76986c1da98e686350fd15d289d4e2e69b939d",14 "language": "License",15 "lines": 45,16 "truncated": false,17 "block": 17,18 "row": 800019 },20 {21 "path": "README.md",22 "sha256": "556945782a24bbff3d4faa353589a097263448a32072c852ea43cef0ac8a968a",23 "language": "Text",24 "lines": 222,25 "truncated": false,26 "block": 18,27 "row": 1105628 },29 {30 "path": "diffcsp/common/constants.py",31 "sha256": "e373a27d307fd98f191505c4cc751f20b5b37c56c8914201b7ec13ff50734725",32 "language": "Python",33 "lines": 269,34 "truncated": false,35 "block": 12,36 "row": 1508037 },38 {39 "path": "diffcsp/common/data_utils.py",40 "sha256": "49592e580be142bfbdb7ec42f518774f321670fa4c82c764738768cca899cea5",41 "language": "Python",42 "lines": 1500,43 "truncated": false,44 "block": 18,45 "row": 542146 },47 {48 "path": "diffcsp/common/gemnet/gemnet.py",49 "sha256": "40490108edfcc094eb4ad071318a08b44193fff5f16ec573bfa23a9791b171bf",50 "language": "Python",51 "lines": 800,52 "truncated": false,53 "block": 18,54 "row": 440755 },56 {57 "path": "diffcsp/common/gemnet/gemnet_ctrl.py",58 "sha256": "5cee138c5862f7eb3516908e28dffb5a55d743d59290bac172c31b5557ac74d7",59 "language": "Python",60 "lines": 270,61 "truncated": false,62 "block": 18,63 "row": 30964 },65 {66 "path": "diffcsp/common/gemnet/initializers.py",67 "sha256": "d4961dac51965ae41a80a2b96e0d80f2fda6a1ce70c9eaa4f421f4a227e903e1",68 "language": "Python",69 "lines": 51,70 "truncated": false,71 "block": 17,72 "row": 2205873 },74 {75 "path": "diffcsp/common/gemnet/layers/atom_update_block.py",76 "sha256": "e95fd4e6bb1959b1ee51815800e204f20a416180f5ff2edfceebe7596c1b71bd",77 "language": "Python",78 "lines": 203,79 "truncated": false,80 "block": 17,81 "row": 3055882 },83 {84 "path": "diffcsp/common/gemnet/layers/base_layers.py",85 "sha256": "e1f4bbd3fba2169aca4c5a9dcd94b5153702fa2b51e43f270e117ff8c0390c56",86 "language": "Python",87 "lines": 113,88 "truncated": false,89 "block": 17,90 "row": 2517791 },92 {93 "path": "diffcsp/common/gemnet/layers/basis_utils.py",94 "sha256": "ee1e6d397829fb194f4488d371b9fafa8fe48c99167e9a46967b3d1ebf4c2bbb",95 "language": "Python",96 "lines": 274,97 "truncated": false,98 "block": 18,99 "row": 54100 },101 {102 "path": "diffcsp/common/gemnet/layers/efficient.py",103 "sha256": "e919638ac3f044c5a8ab0b4deba99f7860b2a6f044272424b71e6c94a9185bc7",104 "language": "Python",105 "lines": 179,106 "truncated": false,107 "block": 17,108 "row": 28646109 },110 {111 "path": "diffcsp/common/gemnet/layers/embedding_block.py",112 "sha256": "145f1bf5286c462fd84fdd7f32492bef794faddcd51b370f94e8f1d9fcf365e4",113 "language": "Python",114 "lines": 105,115 "truncated": false,116 "block": 17,117 "row": 24388118 },119 {120 "path": "diffcsp/common/gemnet/layers/interaction_block.py",121 "sha256": "a9dd3549ee36f1f089222d070c6cdd534915fbadf4b1ecf1283ce71e27238c87",122 "language": "Python",123 "lines": 345,124 "truncated": false,125 "block": 18,126 "row": 438127 },128 {129 "path": "diffcsp/common/gemnet/layers/radial_basis.py",130 "sha256": "9aee3f59017958cd3dc49c6e5f7a303acacd13602e864d75c80a6022d55689fc",131 "language": "Python",132 "lines": 197,133 "truncated": false,134 "block": 17,135 "row": 29674136 },137 {138 "path": "diffcsp/common/gemnet/layers/scaling.py",139 "sha256": "5f77c075d44cad71e15bd7cd283737971fe897ae7162934d55dbffc183a20cab",140 "language": "Python",141 "lines": 192,142 "truncated": false,143 "block": 17,144 "row": 29658145 },146 {147 "path": "diffcsp/common/gemnet/layers/spherical_basis.py",148 "sha256": "00ec798c51b6a2ee1ca92dfc7167665c22acdf9d83890cccac07802c6e20fc3d",149 "language": "Python",150 "lines": 84,151 "truncated": false,152 "block": 17,153 "row": 24962154 },155 {156 "path": "diffcsp/common/gemnet/utils.py",157 "sha256": "6a5b96936274f166dd746d676f43456da504d0376bfd25466fd43607f142086c",158 "language": "Python",159 "lines": 301,160 "truncated": false,161 "block": 18,162 "row": 307163 },164 {165 "path": "diffcsp/common/lattice_score.py",166 "sha256": "e5ba77790e4f81519970877c40e3dea8a180c713db014ad19a74853f5997e7bc",167 "language": "Python",168 "lines": 34,169 "truncated": false,170 "block": 17,171 "row": 21872172 },173 {174 "path": "diffcsp/common/ocp_graph_utils.py",175 "sha256": "0514723e78d7c007c66601f378d448c7f46895076a37f1dfcb58551d74c721d8",176 "language": "Python",177 "lines": 435,178 "truncated": false,179 "block": 18,180 "row": 2845181 },182 {183 "path": "diffcsp/common/utils.py",184 "sha256": "023344189e9c1f21d78e38c1d370fad9416e910da30e29088b438e802651b46a",185 "language": "Python",186 "lines": 97,187 "truncated": false,188 "block": 17,189 "row": 25232190 },191 {192 "path": "diffcsp/finetune.py",193 "sha256": "605a72340f4ff00dcf30e9418a6bb6fc4a3c4e3f4305744b8e7640085931400a",194 "language": "Python",195 "lines": 14,196 "truncated": false,197 "block": 17,198 "row": 18173199 },200 {201 "path": "diffcsp/pl_data/datamodule.py",202 "sha256": "7807ffc91c05d28970648e4931a2504dd007561e913322a2a4c8440f19eacaed",203 "language": "Python",204 "lines": 173,205 "truncated": false,206 "block": 17,207 "row": 29815208 },209 {210 "path": "diffcsp/pl_data/dataset.py",211 "sha256": "61a224f64654605c4ebe042b727a64421e2e57f0fdfba391421ffdfe52b76779",212 "language": "Python",213 "lines": 241,214 "truncated": false,215 "block": 17,216 "row": 32347217 },218 {219 "path": "diffcsp/pl_modules/conditioning.py",220 "sha256": "f7ce9b9a6b1c413db61d1cc829ca9602f3ce13686618fbfedb9bf1bc28bc6ef6",221 "language": "Python",222 "lines": 280,223 "truncated": false,224 "block": 17,225 "row": 31883226 },227 {228 "path": "diffcsp/pl_modules/cspnet.py",229 "sha256": "8ddb6ec86e3cbffa6e6632c4236aa47e451782be07271534ec845e0faf780eb8",230 "language": "Python",231 "lines": 528,232 "truncated": false,233 "block": 18,234 "row": 3343235 },236 {237 "path": "diffcsp/pl_modules/diff_utils.py",238 "sha256": "91dd347d9f20932f6505269fa247ad4ada1276f7ad51610eac0efe373143ff2e",239 "language": "Python",240 "lines": 114,241 "truncated": false,242 "block": 12,243 "row": 11920244 },245 {246 "path": "diffcsp/pl_modules/diffcsppp_cspnet.py",247 "sha256": "900c55d45d429db587812647b8998a10d761907f47f709a3f9a36a5bd0a365f1",248 "language": "Python",249 "lines": 216,250 "truncated": false,251 "block": 17,252 "row": 30951253 },254 {255 "path": "diffcsp/pl_modules/diffcsppp_diffusion.py",256 "sha256": "c9947170431d780fbdefec12b3539703b101c28a89b7099bab75a26cb4dce31c",257 "language": "Python",258 "lines": 390,259 "truncated": false,260 "block": 18,261 "row": 1898262 },263 {264 "path": "diffcsp/pl_modules/diffcsppp_diffusion_w_type.py",265 "sha256": "bc8c26fefc88d1ce27d8f3ef0506ab292bd719b60bd968153d5e9f224cbae69b",266 "language": "Python",267 "lines": 389,268 "truncated": false,269 "block": 18,270 "row": 1911271 },272 {273 "path": "diffcsp/pl_modules/diffusion.py",274 "sha256": "96d8c98cc992fb378f8ca0814781dbefe2b10a8a26e58feab952931bd732a9b8",275 "language": "Python",276 "lines": 292,277 "truncated": false,278 "block": 17,279 "row": 32766280 },281 {282 "path": "diffcsp/pl_modules/diffusion_w_type.py",283 "sha256": "6325bc5b8f24aba938c3ee0c62de5f96cae67c119b581843edc8c1bbac58e8ca",284 "language": "Python",285 "lines": 313,286 "truncated": false,287 "block": 18,288 "row": 373289 },290 {291 "path": "diffcsp/pl_modules/energy_model.py",292 "sha256": "659aeedb38ff4034426347fab6ce4f87865fc77031c734e3682cfbdf2a217e3b",293 "language": "Python",294 "lines": 440,295 "truncated": false,296 "block": 18,297 "row": 2562298 },299 {300 "path": "diffcsp/pl_modules/flow.py",301 "sha256": "cd5808feaacbc2f804b1a3a8ba9812133e39ab89095221291d705298b1fdc4ca",302 "language": "Python",303 "lines": 884,304 "truncated": false,305 "block": 18,306 "row": 4887307 },308 {309 "path": "diffcsp/pl_modules/flow_cls_guide.py",310 "sha256": "64fc8584da8e768e31c5cc991ad074aff2aa91b75382411aaffe3bdf1b232e14",311 "language": "Python",312 "lines": 393,313 "truncated": false,314 "block": 18,315 "row": 1853316 },317 {318 "path": "diffcsp/pl_modules/flow_w_type.py",319 "sha256": "3e231b5659c972ff1c84f3a8f451293b5a6c9be0203ff70fb472b67774e5bfec",320 "language": "Python",321 "lines": 791,322 "truncated": false,323 "block": 18,324 "row": 4651325 },326 {327 "path": "diffcsp/pl_modules/gemnet.py",328 "sha256": "774e11ac49f470d001590ddabb936d4d6670785a1da4915985f791953552baee",329 "language": "Python",330 "lines": 94,331 "truncated": false,332 "block": 17,333 "row": 24472334 },335 {336 "path": "diffcsp/pl_modules/gnn.py",337 "sha256": "ed297ba60414e122155e916321ae735954e48741ec21a929976ab7b372d0933f",338 "language": "Python",339 "lines": 410,340 "truncated": false,341 "block": 18,342 "row": 1696343 },344 {345 "path": "diffcsp/pl_modules/hungarian.py",346 "sha256": "03356d25429c3d54b9b9e05b16b6760c7dcb40c88c991f8877ccd14855325689",347 "language": "Python",348 "lines": 52,349 "truncated": false,350 "block": 17,351 "row": 21673352 },353 {354 "path": "diffcsp/pl_modules/lattice/crystal_family.py",355 "sha256": "8acff36db8ff32fc9da979f52323dcab4d979dc2a675e22fa04b38ffb39165fe",356 "language": "Python",357 "lines": 140,358 "truncated": false,359 "block": 17,360 "row": 26314361 },362 {363 "path": "diffcsp/pl_modules/lattice/matrix.py",364 "sha256": "ef1347adeb8658129e55bfaff49300c2b33f774adf51bf7e9cc02e94dc5b5396",365 "language": "Python",366 "lines": 22,367 "truncated": false,368 "block": 17,369 "row": 19344370 },371 {372 "path": "diffcsp/pl_modules/lattice_utils.py",373 "sha256": "3681eefbc9fe9a31def69175913fb182bb8d156117d61f86ddaad4950ae31485",374 "language": "Python",375 "lines": 114,376 "truncated": false,377 "block": 17,378 "row": 26626379 },380 {381 "path": "diffcsp/pl_modules/model.py",382 "sha256": "7c8982e3cfeb0d3552f141954fc3cec2efca315f7cbb8f4fc641ec6a81d2c607",383 "language": "Python",384 "lines": 147,385 "truncated": false,386 "block": 17,387 "row": 28028388 },389 {390 "path": "diffcsp/pl_modules/ode_solvers.py",391 "sha256": "8e5a99568002e9157525e7094e7c3ae17ab1f70b4d4e41c4bd084c17b1d9989f",392 "language": "Python",393 "lines": 44,394 "truncated": false,395 "block": 17,396 "row": 21341397 },398 {399 "path": "diffcsp/pl_modules/symmetrize.py",400 "sha256": "2728066395da27c5aa1003c8e7d91e458f1208e15a6209b8f339876411087fb8",401 "language": "Python",402 "lines": 48,403 "truncated": false,404 "block": 17,405 "row": 22717406 },407 {408 "path": "diffcsp/pl_modules/time_scheduler.py",409 "sha256": "c81785979ef8713c6cfd5f518410a76b7d0fa136f142cd3eb19dfb41d452c04f",410 "language": "Python",411 "lines": 18,412 "truncated": false,413 "block": 17,414 "row": 18930415 },416 {417 "path": "diffcsp/pl_modules/type_module.py",418 "sha256": "3c79728541f0a6dd8f2f1c3671980ea2b491e55f2e6c6d25ee0ddfdfffeafb0d",419 "language": "Python",420 "lines": 196,421 "truncated": false,422 "block": 17,423 "row": 31872424 },425 {426 "path": "diffcsp/run.py",427 "sha256": "327d9a2686aa3de628f59b4f76447a68a4901a1dd131606f3a19de47ed3184f2",428 "language": "Python",429 "lines": 393,430 "truncated": false,431 "block": 18,432 "row": 1848433 },434 {435 "path": "scripts/calypso_run_mlp.py",436 "sha256": "0ef8e8c7a5f6f27f40f4bb633590fdd888f8096da20481bf79a8f825c9f5c254",437 "language": "Python",438 "lines": 369,439 "truncated": false,440 "block": 18,441 "row": 1318442 },443 {444 "path": "scripts/compute_metrics.py",445 "sha256": "355fd72a57222978cdc54314048a729784bcd3490bde3753a48999a42aa07a16",446 "language": "Python",447 "lines": 564,448 "truncated": false,449 "block": 18,450 "row": 3418451 },452 {453 "path": "scripts/compute_metrics_rec.py",454 "sha256": "2725636e5195906027ef8786f193e6901145e6d45dfda076d9b1d780d1342dbd",455 "language": "Python",456 "lines": 82,457 "truncated": false,458 "block": 17,459 "row": 25155460 },461 {462 "path": "scripts/eval_utils.py",463 "sha256": "55974675ffca30c550b050816b87389c6e95d446f1574fee0860ed933d2a429d",464 "language": "Python",465 "lines": 351,466 "truncated": false,467 "block": 18,468 "row": 936469 },470 {471 "path": "scripts/evaluate.py",472 "sha256": "cc648a1ac61c3ca00a9b7513b8a11c47fdf47f417e47b2a20c8a6b1efdd8f2df",473 "language": "Python",474 "lines": 133,475 "truncated": false,476 "block": 17,477 "row": 28688478 },479 {480 "path": "scripts/evaluate_ode.py",481 "sha256": "4e4535b63c03b0195f327289eefc224e562c003af01ecbf2b8286cdf6a7c1600",482 "language": "Python",483 "lines": 148,484 "truncated": false,485 "block": 17,486 "row": 28783487 },488 {489 "path": "scripts/extract_gen.py",490 "sha256": "c6ccb2c96b70954424b7fc4242d9fcfcbdbc741831fa3869e45a24e9a68f8746",491 "language": "Python",492 "lines": 85,493 "truncated": false,494 "block": 17,495 "row": 25756496 },497 {498 "path": "scripts/generation.py",499 "sha256": "ed41a36ffb35eca1f3e994948e1cd7db01003eb8489aaed7b84c4cfac02e15fe",500 "language": "Python",501 "lines": 300,502 "truncated": false,503 "block": 18,504 "row": 1544505 },506 {507 "path": "scripts/optimization.py",508 "sha256": "048224aa8235eeab5918dc65dbec0457024c40b83570e4a6360cb9f8bc879b6a",509 "language": "Python",510 "lines": 186,511 "truncated": false,512 "block": 17,513 "row": 29164514 },515 {516 "path": "scripts/prepare_dataset.py",517 "sha256": "54d8ba06a4746110e028cdc9f7bcdef47e5047112d770897d3570036f677762c",518 "language": "Python",519 "lines": 64,520 "truncated": false,521 "block": 17,522 "row": 23178523 },524 {525 "path": "scripts/prepare_mp_default_relax.py",526 "sha256": "a4502828589c46624df894dfa63b182c6b5ebfe2a29375c8bf965936503983b0",527 "language": "Python",528 "lines": 73,529 "truncated": false,530 "block": 17,531 "row": 23687532 },533 {534 "path": "scripts/readout_opt.py",535 "sha256": "9eb87ce91b8e5691710506765998238178e7b91c308e81fbd7cb382f8a7ff76a",536 "language": "Python",537 "lines": 84,538 "truncated": false,539 "block": 17,540 "row": 26520541 },542 {543 "path": "scripts/sample.py",544 "sha256": "6b6bbdf261762e45a1a1a75a77b9c888dda9e32ea8b7154141a54a30cb7429ce",545 "language": "Python",546 "lines": 414,547 "truncated": false,548 "block": 18,549 "row": 2593550 },551 {552 "path": "scripts/sample_ode.py",553 "sha256": "99800f081d07a9aa95178c4629ecbbf971121e4ee6e4c14801465204000542f9",554 "language": "Python",555 "lines": 342,556 "truncated": false,557 "block": 18,558 "row": 1540559 },560 {561 "path": "setup.py",562 "sha256": "bfcd8defdc755c91b8f5bbfa3ed042abec5d4bc7b88451a7020188dc337ac895",563 "language": "Python",564 "lines": 7,565 "truncated": false,566 "block": 17,567 "row": 17597568 }569 ]570}