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/seldonio/alibi",4 "url": "https://github.com/SeldonIO/alibi",5 "host": "github.com",6 "commit": "99c3421d7c971c85893625e37da1133e7ddf1779",7 "license": "Apache-2.0",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "fada84a8f7ef88653430276bb65f18f50c492cc03cb9157660b94796e6ea6b11",14 "language": "License",15 "lines": 51,16 "truncated": false,17 "block": 6,18 "row": 203019 },20 {21 "path": "README.md",22 "sha256": "f56a94fef529c995735e82ed25b8620641cbe1d9977cffe01784245c561a6033",23 "language": "Text",24 "lines": 328,25 "truncated": false,26 "block": 8,27 "row": 1085528 },29 {30 "path": "alibi/__init__.py",31 "sha256": "29c1effffcaea0935bd718d1518549daeb16d6c4ef061a196d6cf5b0302a5fde",32 "language": "Python",33 "lines": 4,34 "truncated": false,35 "block": 6,36 "row": 2111237 },38 {39 "path": "alibi/api/defaults.py",40 "sha256": "fd6299dd030eb1299b59286c0f3b21c439c704d10b4af9d93e183ee70274e66e",41 "language": "Python",42 "lines": 383,43 "truncated": false,44 "block": 6,45 "row": 4512646 },47 {48 "path": "alibi/api/interfaces.py",49 "sha256": "58f9f5a3409144c167672e7c430491ca4fcd9ecc82dc604e00dde8dd07d57dde",50 "language": "Python",51 "lines": 232,52 "truncated": false,53 "block": 6,54 "row": 4490455 },56 {57 "path": "alibi/api/tests/test_interfaces.py",58 "sha256": "fe9810ca087c89aced538367473c85505b37259eccee394351539b8dfdbe6b11",59 "language": "Python",60 "lines": 116,61 "truncated": false,62 "block": 6,63 "row": 3512464 },65 {66 "path": "alibi/confidence/__init__.py",67 "sha256": "a4023c8ef7c53b9c5ad88a3623bfc7011c35ed0c82b63565485331f084f0a072",68 "language": "Python",69 "lines": 10,70 "truncated": false,71 "block": 6,72 "row": 2145673 },74 {75 "path": "alibi/confidence/model_linearity.py",76 "sha256": "8254a4e2b53fd90cfa46cea4d4180f778103ced1054531b905a495be4cd46ed5",77 "language": "Python",78 "lines": 506,79 "truncated": false,80 "block": 7,81 "row": 811282 },83 {84 "path": "alibi/confidence/tests/test_model_linearity.py",85 "sha256": "9568f4458b490816bc366686aa7087609e72dd6d81d150084114b63490fa684b",86 "language": "Python",87 "lines": 207,88 "truncated": false,89 "block": 7,90 "row": 111391 },92 {93 "path": "alibi/confidence/tests/test_trustscore.py",94 "sha256": "468562acb77b98f4461fb2ea815dfc265f8116784845b28ffe17964fbb795894",95 "language": "Python",96 "lines": 60,97 "truncated": false,98 "block": 6,99 "row": 32698100 },101 {102 "path": "alibi/confidence/trustscore.py",103 "sha256": "bcd800f9feb33aa10b6a27c3cd40b7eb698f41fc1112a3b0ffba68d1fbb52b34",104 "language": "Python",105 "lines": 198,106 "truncated": false,107 "block": 7,108 "row": 954109 },110 {111 "path": "alibi/datasets/__init__.py",112 "sha256": "e65cc9dfb72e92e52b8aafcb3974de346976351ef4f04ff1f62809a157e074ca",113 "language": "Python",114 "lines": 11,115 "truncated": false,116 "block": 6,117 "row": 22515118 },119 {120 "path": "alibi/datasets/default.py",121 "sha256": "98e9598ae969b4a4086bb17708014f54b006f3b96b6659a69811db9f1903203f",122 "language": "Python",123 "lines": 334,124 "truncated": false,125 "block": 7,126 "row": 5301127 },128 {129 "path": "alibi/datasets/tensorflow.py",130 "sha256": "da62c82952e62221df98dc8fa21327b848705975f8d87b6b1650022f7b3e19b2",131 "language": "Python",132 "lines": 36,133 "truncated": false,134 "block": 6,135 "row": 25803136 },137 {138 "path": "alibi/datasets/tests/test_datasets.py",139 "sha256": "4ec01cce7c3e256d433d9786046b358d371a27095099657c348bd9fc5872cd4a",140 "language": "Python",141 "lines": 151,142 "truncated": false,143 "block": 6,144 "row": 40298145 },146 {147 "path": "alibi/exceptions.py",148 "sha256": "5eaff77c53d160173a150b4545ad58e7ecf44ce5e85adce56e7c0fc2f725fefa",149 "language": "Python",150 "lines": 62,151 "truncated": false,152 "block": 6,153 "row": 30930154 },155 {156 "path": "alibi/explainers/__init__.py",157 "sha256": "a9b6d908661ba273af8cf75d1df57f126277551c99661083a4bec2dde448b3fe",158 "language": "Python",159 "lines": 65,160 "truncated": false,161 "block": 6,162 "row": 32942163 },164 {165 "path": "alibi/explainers/ale.py",166 "sha256": "7ef749e7ba895b6e121ea0a3b68e808d7a389a4ad0271961f087520c932d1df5",167 "language": "Python",168 "lines": 732,169 "truncated": false,170 "block": 7,171 "row": 10647172 },173 {174 "path": "alibi/explainers/anchors/anchor_base.py",175 "sha256": "7f053ddb06f8f574d2c1a810bbbe91e3c857feec0d0088c0dcd846a2befec1b4",176 "language": "Python",177 "lines": 819,178 "truncated": false,179 "block": 7,180 "row": 11269181 },182 {183 "path": "alibi/explainers/anchors/anchor_explanation.py",184 "sha256": "5b3231102dda19d4c5c90f025c0636fc2ecb0f0f205b517a7c59d2f81c930e14",185 "language": "Python",186 "lines": 134,187 "truncated": false,188 "block": 6,189 "row": 39805190 },191 {192 "path": "alibi/explainers/anchors/anchor_image.py",193 "sha256": "27bbfad69435b142604e618e150d573df1a2d4f3c95f0826f53b1b5c5d2f9c3a",194 "language": "Python",195 "lines": 692,196 "truncated": false,197 "block": 7,198 "row": 10402199 },200 {201 "path": "alibi/explainers/anchors/anchor_tabular.py",202 "sha256": "f3f63e8431168ff995c45715d5d5c55aff19dc99a9e1514d9bc7a619052e8038",203 "language": "Python",204 "lines": 1039,205 "truncated": false,206 "block": 8,207 "row": 232208 },209 {210 "path": "alibi/explainers/anchors/anchor_tabular_distributed.py",211 "sha256": "e3c7d55379f3d6cb162f957b9f402fce7ff5db4f74389e10ff3455256fd540d1",212 "language": "Python",213 "lines": 343,214 "truncated": false,215 "block": 7,216 "row": 5197217 },218 {219 "path": "alibi/explainers/anchors/anchor_text.py",220 "sha256": "2be0d5a568151a2a30feb8fb03520a3fb17061a12c8a574151d2a8e467e80fa1",221 "language": "Python",222 "lines": 550,223 "truncated": false,224 "block": 7,225 "row": 9679226 },227 {228 "path": "alibi/explainers/anchors/language_model_text_sampler.py",229 "sha256": "4769d501f485574d96b4039f262812e91e5607cb48d855a0abe5bc3edc643670",230 "language": "Python",231 "lines": 667,232 "truncated": false,233 "block": 7,234 "row": 10231235 },236 {237 "path": "alibi/explainers/anchors/text_samplers.py",238 "sha256": "64d06ca7d99a9ca8c50b5acb5a81423213bdf09765b2ce38d6335838c5924b87",239 "language": "Python",240 "lines": 432,241 "truncated": false,242 "block": 7,243 "row": 7459244 },245 {246 "path": "alibi/explainers/backends/cfrl_base.py",247 "sha256": "354ffe9868b0e75cb77e782530b3f03c34b3e7992da2fb9753009c744cfcfaa1",248 "language": "Python",249 "lines": 143,250 "truncated": false,251 "block": 6,252 "row": 39365253 },254 {255 "path": "alibi/explainers/backends/cfrl_tabular.py",256 "sha256": "16d7f3a2b3236317c41e44775eef5b9f176cd61f06e54ab060574e522f12cf2d",257 "language": "Python",258 "lines": 879,259 "truncated": false,260 "block": 7,261 "row": 11559262 },263 {264 "path": "alibi/explainers/backends/pytorch/cfrl_base.py",265 "sha256": "a9d0a705bcdd11420a5217b0eb2eb271828a2f3ed027036d0890ce14d5fcd7f0",266 "language": "Python",267 "lines": 627,268 "truncated": false,269 "block": 7,270 "row": 7802271 },272 {273 "path": "alibi/explainers/backends/pytorch/cfrl_tabular.py",274 "sha256": "a568b168b37ef4e0ca827fda1dbaf85ad9ccf2122bf1887d016e1079c10b862c",275 "language": "Python",276 "lines": 191,277 "truncated": false,278 "block": 6,279 "row": 43585280 },281 {282 "path": "alibi/explainers/backends/tensorflow/cfrl_base.py",283 "sha256": "fdb6f45fe053f49963063d686a5cd37ed4349377f429bc387669811453a8f5b4",284 "language": "Python",285 "lines": 689,286 "truncated": false,287 "block": 7,288 "row": 8532289 },290 {291 "path": "alibi/explainers/backends/tensorflow/cfrl_tabular.py",292 "sha256": "25ad24f7ce3beb98f515d9150a06ae732074dd7acaa08020c2758a4d69bab8d0",293 "language": "Python",294 "lines": 202,295 "truncated": false,296 "block": 6,297 "row": 43990298 },299 {300 "path": "alibi/explainers/cem.py",301 "sha256": "e4fa4b3479b7cd433184bd75577cac21db7da3010563470104779e71555f8beb",302 "language": "Python",303 "lines": 731,304 "truncated": false,305 "block": 7,306 "row": 11209307 },308 {309 "path": "alibi/explainers/cfproto.py",310 "sha256": "1ff66bf8bdf0d31ae0ecc13f38c9e34cd66379d62d9e1a7ab0faabe28370f454",311 "language": "Python",312 "lines": 1395,313 "truncated": false,314 "block": 8,315 "row": 660316 },317 {318 "path": "alibi/explainers/cfrl_base.py",319 "sha256": "dad8477776cf1445055704bbc3604ccde8844f6f451eb699372d529c9c6e354f",320 "language": "Python",321 "lines": 1100,322 "truncated": false,323 "block": 8,324 "row": 8325 },326 {327 "path": "alibi/explainers/cfrl_tabular.py",328 "sha256": "ed8f79a8457084e8466321511955363ac6ea00f2048eb1fc905e026bcbe5801a",329 "language": "Python",330 "lines": 513,331 "truncated": false,332 "block": 7,333 "row": 9595334 },335 {336 "path": "alibi/explainers/counterfactual.py",337 "sha256": "a4a805be463f9dcccba20fb728e901f23df29971f78de369ed0ed87421ba94fc",338 "language": "Python",339 "lines": 640,340 "truncated": false,341 "block": 7,342 "row": 10226343 },344 {345 "path": "alibi/explainers/integrated_gradients.py",346 "sha256": "c837b0783d6f8f1e46a82f872111599424b56f00534452cced4df5a422883296",347 "language": "Python",348 "lines": 1371,349 "truncated": false,350 "block": 8,351 "row": 494352 },353 {354 "path": "alibi/explainers/partial_dependence.py",355 "sha256": "78bddb06b199797af39c7d977b0ca3244f88e7ee4507642b4776d1281372e6a2",356 "language": "Python",357 "lines": 1564,358 "truncated": false,359 "block": 8,360 "row": 768361 },362 {363 "path": "alibi/explainers/pd_variance.py",364 "sha256": "02ef17de36790e8bce6e3a9fc31833d4bc5c9ed9a174d19026a34246801c697f",365 "language": "Python",366 "lines": 851,367 "truncated": false,368 "block": 7,369 "row": 11586370 },371 {372 "path": "alibi/explainers/permutation_importance.py",373 "sha256": "6d4ec56e003d5535fbd05f28657a28e97e74dfc217525298c312ae3eef343886",374 "language": "Python",375 "lines": 989,376 "truncated": false,377 "block": 8,378 "row": 19379 },380 {381 "path": "alibi/explainers/shap_wrappers.py",382 "sha256": "56b4f0170836e7706d39e59993fd1aa91357d6a18c9a0326086f12a77c9d0648",383 "language": "Python",384 "lines": 1636,385 "truncated": false,386 "block": 8,387 "row": 858388 },389 {390 "path": "alibi/explainers/similarity/backends/__init__.py",391 "sha256": "315823cd8d5e81567e272dd13a54e0d43d900b4dda2ebe93c8219e0c4d196a13",392 "language": "Python",393 "lines": 36,394 "truncated": false,395 "block": 6,396 "row": 27827397 },398 {399 "path": "alibi/explainers/similarity/backends/pytorch/base.py",400 "sha256": "1939bf323a7702ed6d6ac94c0f35130fcd087bd2c4d50274c58cabfbed8e1067",401 "language": "Python",402 "lines": 122,403 "truncated": false,404 "block": 6,405 "row": 40737406 },407 {408 "path": "alibi/explainers/similarity/backends/tensorflow/base.py",409 "sha256": "81f5776f844ff8e1d65d5b8e792b7e7092e8b6d4764460538538d3ded8bb5338",410 "language": "Python",411 "lines": 115,412 "truncated": false,413 "block": 6,414 "row": 39734415 },416 {417 "path": "alibi/explainers/similarity/base.py",418 "sha256": "5273e89866ea93097adf19ba664181e52c107e0615369eb47e27bce886216e23",419 "language": "Python",420 "lines": 217,421 "truncated": false,422 "block": 7,423 "row": 1711424 },425 {426 "path": "alibi/explainers/similarity/grad.py",427 "sha256": "3475708b5a52c82db152d1689f43c8b7ec8c1f9fcb70edadd3635ec6df9a103e",428 "language": "Python",429 "lines": 290,430 "truncated": false,431 "block": 7,432 "row": 5500433 },434 {435 "path": "alibi/explainers/similarity/metrics.py",436 "sha256": "f133ed13d17bbf8f0dea34d019caa613cd9fb67b730df42b34eee0334a3d5970",437 "language": "Python",438 "lines": 74,439 "truncated": false,440 "block": 6,441 "row": 34631442 },443 {444 "path": "alibi/explainers/tests/conftest.py",445 "sha256": "b0246b4c545defedc7767e032c19f5e004c87a2e9a89aa61a86d47b8abf9a886",446 "language": "Python",447 "lines": 395,448 "truncated": false,449 "block": 7,450 "row": 3799451 },452 {453 "path": "alibi/explainers/tests/test_ale.py",454 "sha256": "302f527f8b3e1cddb4391b46f7c08ae580576c7500c3cd26b1a9839201d41f43",455 "language": "Python",456 "lines": 414,457 "truncated": false,458 "block": 7,459 "row": 7697460 },461 {462 "path": "alibi/explainers/tests/test_anchor_base.py",463 "sha256": "f71c22af77616b29ef72fbfc25c8baab3becb4c0b725f3233c875d4653ff3fb0",464 "language": "Python",465 "lines": 59,466 "truncated": false,467 "block": 6,468 "row": 34374469 },470 {471 "path": "alibi/explainers/tests/test_anchor_image.py",472 "sha256": "a8e437513457eb8de254ae4208b43a9ccb6a2cb195363e091de0b41648ed21e5",473 "language": "Python",474 "lines": 199,475 "truncated": false,476 "block": 7,477 "row": 512478 },479 {480 "path": "alibi/explainers/tests/test_anchor_tabular.py",481 "sha256": "5f6ef821d4699ab816ac852cba80e8c4fea3237675d2e1c0dd6864d7f8b6b3fd",482 "language": "Python",483 "lines": 353,484 "truncated": false,485 "block": 7,486 "row": 7143487 },488 {489 "path": "alibi/explainers/tests/test_anchor_text.py",490 "sha256": "d11f6549bec5c26b06f313d68d835d22662ed3e512ad8e13ca276ed17330cf8f",491 "language": "Python",492 "lines": 478,493 "truncated": false,494 "block": 7,495 "row": 8182496 },497 {498 "path": "alibi/explainers/tests/test_cem.py",499 "sha256": "3957c491c55e5a3a791b577eae86b58d6ed74110d21f801a7a0a1aebec8cdcd0",500 "language": "Python",501 "lines": 44,502 "truncated": false,503 "block": 6,504 "row": 29611505 },506 {507 "path": "alibi/explainers/tests/test_cfproto.py",508 "sha256": "043cd33b2498a098ed68e4926d5c41c95e2474bffcc51a13f9581f8fa5f10c84",509 "language": "Python",510 "lines": 150,511 "truncated": false,512 "block": 6,513 "row": 44465514 },515 {516 "path": "alibi/explainers/tests/test_cfrl.py",517 "sha256": "a5f76a42c30757a932af03235d821bd7b88c0e6b5608e4427dbfcfcd955d6a2a",518 "language": "Python",519 "lines": 529,520 "truncated": false,521 "block": 7,522 "row": 8799523 },524 {525 "path": "alibi/explainers/tests/test_counterfactual.py",526 "sha256": "15f88a966db87271df3f1caa4d905c875c73869e8c76cfddb857c0b612db572f",527 "language": "Python",528 "lines": 152,529 "truncated": false,530 "block": 6,531 "row": 41069532 },533 {534 "path": "alibi/explainers/tests/test_integrated_gradients.py",535 "sha256": "3d302676f8312d9a4fa09e379a83f8d76759c5774b9b3c2b0b1440e34d8fd5f7",536 "language": "Python",537 "lines": 799,538 "truncated": false,539 "block": 7,540 "row": 11403541 },542 {543 "path": "alibi/explainers/tests/test_partial_dependence.py",544 "sha256": "2d61d09542290331f4c8c8bfa4e41db66b7245b9e151512c56eee634f5e71ef7",545 "language": "Python",546 "lines": 981,547 "truncated": false,548 "block": 7,549 "row": 11838550 },551 {552 "path": "alibi/explainers/tests/test_pd_variance.py",553 "sha256": "8cbf1781def2c0f2f90ae176cc03878114ecdf2911cf88794a678dfbf3cf6826",554 "language": "Python",555 "lines": 627,556 "truncated": false,557 "block": 7,558 "row": 10477559 },560 {561 "path": "alibi/explainers/tests/test_permutation_importance.py",562 "sha256": "c00dcd8f0107ac847ea4c95fe5335b1697930999972c57c776c1ac29b64622df",563 "language": "Python",564 "lines": 576,565 "truncated": false,566 "block": 7,567 "row": 9520568 },569 {570 "path": "alibi/explainers/tests/test_shap_wrappers.py",571 "sha256": "502cedeb35443e872036d211aa4a7e8fd67f382f55e698c4d09428ed4d310c7e",572 "language": "Python",573 "lines": 1639,574 "truncated": false,575 "block": 8,576 "row": 648577 },578 {579 "path": "alibi/explainers/tests/test_simiarlity/conftest.py",580 "sha256": "9e87af798f251bf35144dac8491ab155ba7860b6550f4ac700be84be4098f092",581 "language": "Python",582 "lines": 177,583 "truncated": false,584 "block": 6,585 "row": 42992586 },587 {588 "path": "alibi/explainers/tests/test_simiarlity/test_backends.py",589 "sha256": "d06ccc0bacaab5909ae564e66a307ab8d5cd3d9a7492fa4c15985ce93c9800f0",590 "language": "Python",591 "lines": 136,592 "truncated": false,593 "block": 6,594 "row": 43120595 },596 {597 "path": "alibi/explainers/tests/test_simiarlity/test_grad_methods_integration.py",598 "sha256": "9977f72c18981e603b1819aeb5d3b3c09d02c1fbe7b80424c78c942185c7ae36",599 "language": "Python",600 "lines": 471,601 "truncated": false,602 "block": 7,603 "row": 7886604 },605 {606 "path": "alibi/explainers/tests/test_simiarlity/test_grad_methods_unit.py",607 "sha256": "2f6b509a17c5c8e3579fd7cce8892036da096b32c72a64cd629edff1801f90bf",608 "language": "Python",609 "lines": 239,610 "truncated": false,611 "block": 7,612 "row": 2188613 },614 {615 "path": "alibi/explainers/tests/utils.py",616 "sha256": "e5353546faa8cdef22e63e31edbecc7f66d5110a90e6a015d9f97127f8ba4657",617 "language": "Python",618 "lines": 103,619 "truncated": false,620 "block": 6,621 "row": 36111622 },623 {624 "path": "alibi/models/pytorch/__init__.py",625 "sha256": "b56568608878e47e3bce4b3465dcaf912f6d00a62c3854fc1abd9179f6201001",626 "language": "Python",627 "lines": 8,628 "truncated": false,629 "block": 6,630 "row": 22656631 },632 {633 "path": "alibi/models/pytorch/actor_critic.py",634 "sha256": "5ff9332d76f2a76c2a152ed88c5cde8bc40bab4257d13c5f5448e745b6d52482",635 "language": "Python",636 "lines": 95,637 "truncated": false,638 "block": 6,639 "row": 34971640 },641 {642 "path": "alibi/models/pytorch/autoencoder.py",643 "sha256": "2497313387013d03797de3316f78a1a2299f429aad29946c6fb4b621ef1d9f37",644 "language": "Python",645 "lines": 110,646 "truncated": false,647 "block": 6,648 "row": 36131649 },650 {651 "path": "alibi/models/pytorch/cfrl_models.py",652 "sha256": "97eb4b6bca8cab2611f86ee94a126fcc2af289d1dc10796dd8694da6aaa565c8",653 "language": "Python",654 "lines": 248,655 "truncated": false,656 "block": 7,657 "row": 880658 },659 {660 "path": "alibi/models/pytorch/metrics.py",661 "sha256": "6acc2fc3cb9107e9f6092f0bbcecb8f0ab285c6de22d29ff9474e1de7f477de8",662 "language": "Python",663 "lines": 171,664 "truncated": false,665 "block": 6,666 "row": 41186667 },668 {669 "path": "alibi/models/pytorch/model.py",670 "sha256": "59bc8383299d69f8edb78a9c79bba1744048733fd0ee8318e241e5ed958be5a0",671 "language": "Python",672 "lines": 368,673 "truncated": false,674 "block": 7,675 "row": 5294676 },677 {678 "path": "alibi/models/pytorch/tests/test_actor_critic.py",679 "sha256": "16dc85392b1cf6e68112908743ff7b4f353552f062ef71fda8a1b22f39125c79",680 "language": "Python",681 "lines": 54,682 "truncated": false,683 "block": 6,684 "row": 30686685 },686 {687 "path": "alibi/models/pytorch/tests/test_autoencoder.py",688 "sha256": "8b874fcb2b8dedbf62adb9e18b42e143a12792044e29cf19cea4cb9c3fdf6269",689 "language": "Python",690 "lines": 21,691 "truncated": false,692 "block": 6,693 "row": 23583694 },695 {696 "path": "alibi/models/pytorch/tests/test_cfrl_models.py",697 "sha256": "7a4412986cf9ad6d33fcbc89426f1abe715772fecf6ca1fe3ab62967f092fbf4",698 "language": "Python",699 "lines": 104,700 "truncated": false,701 "block": 6,702 "row": 38165703 },704 {705 "path": "alibi/models/pytorch/tests/test_metrics.py",706 "sha256": "4776ba20eaefccc853198fb937527fea1df12c8e571b6efdc3a07b842fd67466",707 "language": "Python",708 "lines": 55,709 "truncated": false,710 "block": 6,711 "row": 31081712 },713 {714 "path": "alibi/models/pytorch/tests/test_model.py",715 "sha256": "eb16390ad0a27171f2aae28fe73cd3a6793c20c27863813eed7c2fa1f96b3736",716 "language": "Python",717 "lines": 583,718 "truncated": false,719 "block": 7,720 "row": 8963721 },722 {723 "path": "alibi/models/tensorflow/__init__.py",724 "sha256": "50478a9dfae29d401625fdcd37bb2f15c5b6f7827f7ec0b33a638d58541c8e61",725 "language": "Python",726 "lines": 8,727 "truncated": false,728 "block": 6,729 "row": 22708730 },731 {732 "path": "alibi/models/tensorflow/actor_critic.py",733 "sha256": "56f54181700039eb0bda15d13db4b1f8d59fac0252568afb5b3c013076ed3ca8",734 "language": "Python",735 "lines": 136,736 "truncated": false,737 "block": 6,738 "row": 38469739 },740 {741 "path": "alibi/models/tensorflow/autoencoder.py",742 "sha256": "3e3b8750f579829722c7cf5b2bdfc6bce19d3a473c43a145d07e5d6a66fe8f3d",743 "language": "Python",744 "lines": 116,745 "truncated": false,746 "block": 6,747 "row": 37043748 },749 {750 "path": "alibi/models/tensorflow/cfrl_models.py",751 "sha256": "0e41d326e27b64bcca1253e682143db3ef359a39b90f72a6e3f9a55cc209f7cc",752 "language": "Python",753 "lines": 245,754 "truncated": false,755 "block": 7,756 "row": 1555757 },758 {759 "path": "alibi/models/tensorflow/tests/test_actor_critic.py",760 "sha256": "42cc9c93ab29fccb658ffaaa9e1b3dc4165cea25dbc3da659aec91c9b12ff85d",761 "language": "Python",762 "lines": 52,763 "truncated": false,764 "block": 6,765 "row": 30088766 },767 {768 "path": "alibi/models/tensorflow/tests/test_autoencoder.py",769 "sha256": "981967a3b5874fe912f93c2124107289ff2181942ffbc049db261de875a71e50",770 "language": "Python",771 "lines": 19,772 "truncated": false,773 "block": 6,774 "row": 23554775 },776 {777 "path": "alibi/models/tensorflow/tests/test_cfrl_models.py",778 "sha256": "b7df5b37b280037d0e10173a8ec2d011f3e9c509e44e19774dc4947cc1afb703",779 "language": "Python",780 "lines": 101,781 "truncated": false,782 "block": 6,783 "row": 37984784 },785 {786 "path": "alibi/prototypes/__init__.py",787 "sha256": "0f9573f428224960ef29f3d6a7d120c7a190f500fdef4534ff063f2fecc36cf2",788 "language": "Python",789 "lines": 9,790 "truncated": false,791 "block": 6,792 "row": 21444793 },794 {795 "path": "alibi/prototypes/protoselect.py",796 "sha256": "38953a21cf745263f743979adfd933e073086678f45fa8bbe1313ec5871ab93a",797 "language": "Python",798 "lines": 692,799 "truncated": false,800 "block": 7,801 "row": 10977802 },803 {804 "path": "alibi/prototypes/tests/test_protoselect.py",805 "sha256": "02ce9f5edcaa5bb7a5a21089d3c1791ee6f4c076bad55e6474c5c8f66067413d",806 "language": "Python",807 "lines": 288,808 "truncated": false,809 "block": 7,810 "row": 4333811 },812 {813 "path": "alibi/prototypes/tests/test_utils.py",814 "sha256": "ecaf9ee6e0256dae8af08cdbee715bfce54843ce635b591384b8e277c0e27479",815 "language": "Python",816 "lines": 99,817 "truncated": false,818 "block": 6,819 "row": 36464820 },821 {822 "path": "alibi/saving.py",823 "sha256": "a10d44bfc50bf4333d9b758b0a0ee50cdd269dc633a73021465aec82bbfcef31",824 "language": "Python",825 "lines": 453,826 "truncated": false,827 "block": 7,828 "row": 7136829 },830 {831 "path": "alibi/tests/conftest.py",832 "sha256": "37f367e99b9224072d2335e23eccc20a32f7095d86dc3fc66b65737d8a4185de",833 "language": "Python",834 "lines": 19,835 "truncated": false,836 "block": 6,837 "row": 23469838 },839 {840 "path": "alibi/tests/test_dep_management.py",841 "sha256": "6eda307c446358c3bbb1a7feaef4af4153282791e407d6b1956aba350fe8c98b",842 "language": "Python",843 "lines": 151,844 "truncated": false,845 "block": 6,846 "row": 45315847 },848 {849 "path": "alibi/tests/test_saving.py",850 "sha256": "6d30e8df837dee8c8f58f9da2cadc01455156796287f4137dcf2a8d661a4a3a1",851 "language": "Python",852 "lines": 524,853 "truncated": false,854 "block": 7,855 "row": 8360856 },857 {858 "path": "alibi/tests/test_utils.py",859 "sha256": "10ef5d3c42c20a7ab2a0ee21a72f1b117772a16de1a9750131adaf521f0890c9",860 "language": "Python",861 "lines": 35,862 "truncated": false,863 "block": 6,864 "row": 25774865 },866 {867 "path": "alibi/tests/utils.py",868 "sha256": "5ad69cdc26f771deb1ae786725ff65f6c63b11e857b75e5e4510bf4b17550f4f",869 "language": "Python",870 "lines": 151,871 "truncated": false,872 "block": 6,873 "row": 40865874 },875 {876 "path": "alibi/utils/__init__.py",877 "sha256": "a9b3ec19a534bbea4ab3044b4a78f3a3bf39ea463790dae02f39ca7f49701b49",878 "language": "Python",879 "lines": 34,880 "truncated": false,881 "block": 6,882 "row": 27440883 },884 {885 "path": "alibi/utils/approximation_methods.py",886 "sha256": "ef8e419477e532cf5d061c0d2a769f78ee204e50ccd996297650dfbf35891af9",887 "language": "Python",888 "lines": 143,889 "truncated": false,890 "block": 6,891 "row": 41225892 },893 {894 "path": "alibi/utils/data.py",895 "sha256": "6485ee25c1ac4decf9396f80cd6a2138acd49740769c5f174b26136de0ee48dd",896 "language": "Python",897 "lines": 83,898 "truncated": false,899 "block": 6,900 "row": 34624901 },902 {903 "path": "alibi/utils/discretizer.py",904 "sha256": "4e8da8612e4567e7a09d1b05a0f5036f05f32adb41add7bf4a5957418b1313e3",905 "language": "Python",906 "lines": 112,907 "truncated": false,908 "block": 6,909 "row": 37667910 },911 {912 "path": "alibi/utils/distance.py",913 "sha256": "91369fb052afafb4856eff2b9463f2c2189fd18af4636a98577f02e8473fb76f",914 "language": "Python",915 "lines": 323,916 "truncated": false,917 "block": 7,918 "row": 4644919 },920 {921 "path": "alibi/utils/distributed.py",922 "sha256": "6955a1029b155946ccae7e3b1f855ddd86c845a68d8194e4da7b46e10f6c8eba",923 "language": "Python",924 "lines": 806,925 "truncated": false,926 "block": 7,927 "row": 10798928 },929 {930 "path": "alibi/utils/distributions.py",931 "sha256": "3416ba11715439e8b8d3ef5be0533a310487750bc4c88c1356e8a820d372a8da",932 "language": "Python",933 "lines": 24,934 "truncated": false,935 "block": 6,936 "row": 23236937 },938 {939 "path": "alibi/utils/download.py",940 "sha256": "9ccbbc4beb6e3b03f76b96c547729bc462cbd343ee4443d5a659e5ebcb070e53",941 "language": "Python",942 "lines": 22,943 "truncated": false,944 "block": 6,945 "row": 22856946 },947 {948 "path": "alibi/utils/frameworks.py",949 "sha256": "9ea5e87aed993df7cd636418220c2c1965749863911d16aacc329cfa6a23bdbb",950 "language": "Python",951 "lines": 19,952 "truncated": false,953 "block": 6,954 "row": 21818955 },956 {957 "path": "alibi/utils/gradients.py",958 "sha256": "5ca052f33b6fd207fe884daba7b36ac1cf1d8b1ad9304953ff421c5d4384df01",959 "language": "Python",960 "lines": 80,961 "truncated": false,962 "block": 6,963 "row": 35520964 },965 {966 "path": "alibi/utils/kernel.py",967 "sha256": "4d638bbd48c1767c9e63bd55518db6d9a515a0b36bd09d7da597d3ab66f13135",968 "language": "Python",969 "lines": 121,970 "truncated": false,971 "block": 6,972 "row": 40545973 },974 {975 "path": "alibi/utils/lang_model.py",976 "sha256": "a9f78c80800431d63dfd7f10da3457887f3b95e7e1b57a0911c4beb983ff87be",977 "language": "Python",978 "lines": 400,979 "truncated": false,980 "block": 7,981 "row": 6530982 },983 {984 "path": "alibi/utils/mapping.py",985 "sha256": "3304f00958d0bd4cf51e04b1d8734c9215257fe3cb9777c3a0387dfa6426905b",986 "language": "Python",987 "lines": 158,988 "truncated": false,989 "block": 6,990 "row": 40665991 },992 {993 "path": "alibi/utils/missing_optional_dependency.py",994 "sha256": "17afd7957d500c256b4942d2813bb385fad608fc206fca930213695d857c7e60",995 "language": "Python",996 "lines": 129,997 "truncated": false,998 "block": 6,999 "row": 420871000 },1001 {1002 "path": "alibi/utils/tests/mocked_opt_dep.py",1003 "sha256": "9ea95d57db96f75c73468c56a38e456a16b1362c9e1d996631fc6a825686d601",1004 "language": "Python",1005 "lines": 10,1006 "truncated": false,1007 "block": 6,1008 "row": 211521009 },1010 {1011 "path": "alibi/utils/tests/test_data.py",1012 "sha256": "bc3a3fde3ecbc1cca0431d1e7bb7712e1e97b7a9d223207b0d6327bdfa3216fa",1013 "language": "Python",1014 "lines": 29,1015 "truncated": false,1016 "block": 6,1017 "row": 256471018 },1019 {1020 "path": "alibi/utils/tests/test_distance.py",1021 "sha256": "bb779866b6151a343160ccae612c76e692904cb8c59720d62405b37bead689bb",1022 "language": "Python",1023 "lines": 97,1024 "truncated": false,1025 "block": 6,1026 "row": 364581027 },1028 {1029 "path": "alibi/utils/tests/test_distributed.py",1030 "sha256": "55495132f663db108a239cfcb36dffaeea986bad5384219386d1f2495eed8e88",1031 "language": "Python",1032 "lines": 404,1033 "truncated": false,1034 "block": 7,1035 "row": 68161036 },1037 {1038 "path": "alibi/utils/tests/test_gradients.py",1039 "sha256": "59aaacc2f3faa3f54e3eca9e92c390affaaf34642d274eee5a96708ab1388d53",1040 "language": "Python",1041 "lines": 47,1042 "truncated": false,1043 "block": 6,1044 "row": 299801045 },1046 {1047 "path": "alibi/utils/tests/test_import_optional.py",1048 "sha256": "c3c78f80854956b3a039ab7cf7e418f51a0a4d0a55d40293c0dc7fb7285e4d58",1049 "language": "Python",1050 "lines": 60,1051 "truncated": false,1052 "block": 6,1053 "row": 353341054 },1055 {1056 "path": "alibi/utils/tests/test_mapping.py",1057 "sha256": "69021d9959a9e3f17c7774eb5436e8404429cb3a7a5900681a814d1129ed3aab",1058 "language": "Python",1059 "lines": 36,1060 "truncated": false,1061 "block": 6,1062 "row": 262271063 },1064 {1065 "path": "alibi/utils/tests/test_misc.py",1066 "sha256": "2613e095e639980e56e19410379882bd68816c66de014d160f35e20a335b4982",1067 "language": "Python",1068 "lines": 16,1069 "truncated": false,1070 "block": 6,1071 "row": 222301072 },1073 {1074 "path": "alibi/utils/tf.py",1075 "sha256": "9024791af9ea37fecf3d41e894329b4876ae644f78f012d75a56fe7a6073a82f",1076 "language": "Python",1077 "lines": 46,1078 "truncated": false,1079 "block": 6,1080 "row": 250821081 },1082 {1083 "path": "alibi/utils/visualization.py",1084 "sha256": "c62372fc747fda3106a4f906284b0b5f344e6e003ab8b2ba8c4570bae2f1b223",1085 "language": "Python",1086 "lines": 562,1087 "truncated": false,1088 "block": 7,1089 "row": 94431090 },1091 {1092 "path": "alibi/utils/wrappers.py",1093 "sha256": "ba7187e63d5a55eae7c0a9b942db04858382d7b4c879d26812f422463698e642",1094 "language": "Python",1095 "lines": 60,1096 "truncated": false,1097 "block": 6,1098 "row": 303981099 },1100 {1101 "path": "alibi/version.py",1102 "sha256": "10be9e07d4a4cf2a9ec3694b200fa7c8c46c703ba7231dde1be17a092190ddc7",1103 "language": "Python",1104 "lines": 6,1105 "truncated": false,1106 "block": 6,1107 "row": 212761108 },1109 {1110 "path": "doc/source/conf.py",1111 "sha256": "96773855d6b3fc07bf47799d89c4627c13e9ec7ae2aaed09efd525e056706bfc",1112 "language": "Python",1113 "lines": 293,1114 "truncated": false,1115 "block": 7,1116 "row": 22011117 },1118 {1119 "path": "doc/source/examples/ale_classification.ipynb",1120 "sha256": "73c82486221138ffcdf155ef1bc39cdc1e3a47c974bac096d0a5286d22f3d19a",1121 "language": "Jupyter",1122 "lines": 213,1123 "truncated": false,1124 "block": 6,1125 "row": 401126 },1127 {1128 "path": "doc/source/examples/ale_regression_california.ipynb",1129 "sha256": "324b9dce61040b4a657c07c45769b38bea321ceee9d51fee7645946853ecfc8f",1130 "language": "Jupyter",1131 "lines": 242,1132 "truncated": false,1133 "block": 6,1134 "row": 3011135 },1136 {1137 "path": "doc/source/examples/anchor_image_fashion_mnist.ipynb",1138 "sha256": "08ab189528549fbf469bbbaf00837f80af6a2ee467b2c7c7edf255d268d9a822",1139 "language": "Jupyter",1140 "lines": 159,1141 "truncated": false,1142 "block": 5,1143 "row": 167091144 },1145 {1146 "path": "doc/source/examples/anchor_image_imagenet.ipynb",1147 "sha256": "3390653a102a52aae9c92d67adb31357c7dbe13ac06fea3a5f3e0f7c2a64ec89",1148 "language": "Jupyter",1149 "lines": 91,1150 "truncated": false,1151 "block": 5,1152 "row": 165721153 },1154 {1155 "path": "doc/source/examples/anchor_tabular_adult.ipynb",1156 "sha256": "7734fbf59ea84457b8c8fc714fb76b12d99b0c81c5bd73e8a8352cf9c326430c",1157 "language": "Jupyter",1158 "lines": 147,1159 "truncated": false,1160 "block": 5,1161 "row": 170031162 },1163 {1164 "path": "doc/source/examples/anchor_tabular_iris.ipynb",1165 "sha256": "8cf1858b58d9d6b6392fda7c7ecf15e2e5afbb34cb987b1b22f97a4ff056321d",1166 "language": "Jupyter",1167 "lines": 68,1168 "truncated": false,1169 "block": 5,1170 "row": 162221171 },1172 {1173 "path": "doc/source/examples/anchor_text_movie.ipynb",1174 "sha256": "98992dd3ee8db315bc84370b8efca29e2584a42cc84257411b25b7fce5b335ab",1175 "language": "Jupyter",1176 "lines": 282,1177 "truncated": false,1178 "block": 6,1179 "row": 1051180 },1181 {1182 "path": "doc/source/examples/cem_iris.ipynb",1183 "sha256": "c83b2e383e021457362301db67b0819c76c261d19fea5dcf7795f722c83436ec",1184 "language": "Jupyter",1185 "lines": 274,1186 "truncated": false,1187 "block": 5,1188 "row": 176861189 },1190 {1191 "path": "doc/source/examples/cem_mnist.ipynb",1192 "sha256": "7010d456629e0d9e0d1bb924847d6b297aeb647c46e386ea956e7fa2c2a07723",1193 "language": "Jupyter",1194 "lines": 248,1195 "truncated": false,1196 "block": 5,1197 "row": 174721198 },1199 {1200 "path": "doc/source/examples/cf_mnist.ipynb",