{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/code/get-mahalanobis-score","entry":"get_Mahalanobis_score","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":8,"n_papers_ran":7,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":7,"n_samples_ran":5,"n_samples_fingerprinted":0,"n_places":9,"n_places_pointer_only":4,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":3,"ran_fixture":1,"ran":1,"unverified":2},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2409.18205","paper":"/paper/bridging-ood-detection-and-generalization-a","title":"Bridging OOD Detection and Generalization: A Graph-Theoretic View","date":"2024-09-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"deeplearning-wisc/graph-spectral-ood","path":"utils/score_calculation.py","file_url":"https://github.com/deeplearning-wisc/graph-spectral-ood/blob/HEAD/utils/score_calculation.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"24f5b40495bb542e","mcp_get_code":{"code_sha256":"24f5b40495bb542e"}},{"arxiv_id":"2204.06507","paper":"/paper/out-of-distribution-detection-with-deep","title":"Out-of-Distribution Detection with Deep Nearest Neighbors","date":"2022-04-13","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"deeplearning-wisc/knn-ood","path":"util/score.py","file_url":"https://github.com/deeplearning-wisc/knn-ood/blob/HEAD/util/score.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"32ed88f27881480a","mcp_get_code":{"code_sha256":"32ed88f27881480a"}},{"arxiv_id":"2203.04450","paper":"/paper/cider-exploiting-hyperspherical-embeddings","title":"How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?","date":"2022-03-08","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"deeplearning-wisc/cider","path":"eval_ood.py","file_url":"https://github.com/deeplearning-wisc/cider/blob/HEAD/eval_ood.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"95067d4b98ae3f94","mcp_get_code":{"code_sha256":"95067d4b98ae3f94"}},{"arxiv_id":"2202.03299","paper":"/paper/training-ood-detectors-in-their-natural","title":"Training OOD Detectors in their Natural Habitats","date":"2022-02-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jkatzsam/woods_ood","path":"utils/score_calculation.py","file_url":"https://github.com/jkatzsam/woods_ood/blob/HEAD/utils/score_calculation.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"24f5b40495bb542e","mcp_get_code":{"code_sha256":"24f5b40495bb542e"}},{"arxiv_id":"2202.01197","paper":"/paper/vos-learning-what-you-don-t-know-by-virtual","title":"VOS: Learning What You Don't Know by Virtual Outlier Synthesis","date":"2022-02-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"deeplearning-wisc/vos","path":"classification/utils/score_calculation.py","file_url":"https://github.com/deeplearning-wisc/vos/blob/HEAD/classification/utils/score_calculation.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"24f5b40495bb542e","mcp_get_code":{"code_sha256":"24f5b40495bb542e"}},{"arxiv_id":"2105.01879","paper":"/paper/mos-towards-scaling-out-of-distribution","title":"MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Space","date":"2021-05-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"deeplearning-wisc/gradnorm_ood","path":"utils/mahalanobis_lib.py","file_url":"https://github.com/deeplearning-wisc/gradnorm_ood/blob/HEAD/utils/mahalanobis_lib.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"ae64ecb508b5b2bb","mcp_get_code":{"code_sha256":"ae64ecb508b5b2bb"}},{"arxiv_id":"1807.03888","paper":"/paper/a-simple-unified-framework-for-detecting-out","title":"A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks","date":"2018-07-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"pokaxpoka/deep_Mahalanobis_detector","path":"OOD_Generate_Mahalanobis.py","file_url":"https://github.com/pokaxpoka/deep_Mahalanobis_detector/blob/HEAD/OOD_Generate_Mahalanobis.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"ab12cb31239fb0f3","mcp_get_code":{"code_sha256":"ab12cb31239fb0f3"}},{"arxiv_id":"1807.03888","paper":"/paper/a-simple-unified-framework-for-detecting-out","title":"A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks","date":"2018-07-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lancopku/avg-avg","path":"lib/inference/maha.py","file_url":"https://github.com/lancopku/avg-avg/blob/HEAD/lib/inference/maha.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"a6cc0332f174b30c","mcp_get_code":{"code_sha256":"a6cc0332f174b30c"}},{"arxiv_id":"1610.02136","paper":"/paper/a-baseline-for-detecting-misclassified-and","title":"A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks","date":"2016-10-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"kingjamessong/rankfeat","path":"utils/mahalanobis_lib.py","file_url":"https://github.com/kingjamessong/rankfeat/blob/HEAD/utils/mahalanobis_lib.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"d2b7861b22672799","mcp_get_code":{"code_sha256":"d2b7861b22672799"}}]}