{"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/sample-estimator","entry":"sample_estimator","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":6,"n_papers_ran":4,"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":5,"n_samples_ran":3,"n_samples_fingerprinted":1,"n_places":6,"n_places_pointer_only":1,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":2,"ran_fixture":1,"ran":0,"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":"2210.07907","paper":"/paper/expose-backdoors-on-the-way-a-feature-based","title":"Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks","date":"2022-10-14","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lancopku/dan","path":"evaluate_dan.py","file_url":"https://github.com/lancopku/dan/blob/HEAD/evaluate_dan.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"8211ce1ebdb20c93","mcp_get_code":{"code_sha256":"8211ce1ebdb20c93"}},{"arxiv_id":"2010.03759","paper":"/paper/energy-based-out-of-distribution-detection-1","title":"Energy-based Out-of-distribution Detection","date":"2020-10-08","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"wetliu/energy_ood","path":"utils/score_calculation.py","file_url":"https://github.com/wetliu/energy_ood/blob/HEAD/utils/score_calculation.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":"09d6eb1b24af40a5","mcp_get_code":{"code_sha256":"09d6eb1b24af40a5"}},{"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_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"7947812fb91dd7ab","mcp_get_code":{"code_sha256":"7947812fb91dd7ab"}},{"arxiv_id":"aaai_26741","paper":null,"title":"arXiv:aaai_26741","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"lygjwy/READ","path":"detect_cla_hybrid.py","file_url":"https://github.com/lygjwy/READ/blob/HEAD/detect_cla_hybrid.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"c0a1539ed030cd62","mcp_get_code":{"code_sha256":"c0a1539ed030cd62"}},{"arxiv_id":"2022.findings-emnlp.497","paper":null,"title":"arXiv:2022.findings-emnlp.497","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"lancopku/Avg-Avg","path":"ood_test_embedding.py","file_url":"https://github.com/lancopku/Avg-Avg/blob/HEAD/ood_test_embedding.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"89a4baeeb3ec6d8f","mcp_get_code":{"code_sha256":"89a4baeeb3ec6d8f"}},{"arxiv_id":"2022.findings-emnlp.47","paper":null,"title":"arXiv:2022.findings-emnlp.47","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"lancopku/DAN","path":"evaluate_dan.py","file_url":"https://github.com/lancopku/DAN/blob/HEAD/evaluate_dan.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"8211ce1ebdb20c93","mcp_get_code":{"code_sha256":"8211ce1ebdb20c93"}}]}