{"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/is-valid-file","entry":"is_valid_file","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":5,"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":3,"n_samples_ran":2,"n_samples_fingerprinted":0,"n_places":6,"n_places_pointer_only":4,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":2,"unverified":1},"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":"2407.01400","paper":"/paper/gallop-learning-global-and-local-prompts-for","title":"GalLoP: Learning Global and Local Prompts for Vision-Language Models","date":"2024-07-01","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"marclafon/gallop","path":"gallop/datasets/imagenet.py","file_url":"https://github.com/marclafon/gallop/blob/HEAD/gallop/datasets/imagenet.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"39a56788b60da1ce","mcp_get_code":{"code_sha256":"39a56788b60da1ce"}},{"arxiv_id":"2405.16112","paper":"/paper/mitigating-backdoor-attack-by-injecting","title":"Mitigating Backdoor Attack by Injecting Proactive Defensive Backdoor","date":"2024-05-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"shawkui/Proactive_Defensive_Backdoor","path":"for_imagenet/generate_poison_val_badnet.py","file_url":"https://github.com/shawkui/Proactive_Defensive_Backdoor/blob/HEAD/for_imagenet/generate_poison_val_badnet.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"code_sha256_prefix":"ea3c60ddf40d46bc","mcp_get_code":{"code_sha256":"ea3c60ddf40d46bc"}},{"arxiv_id":"2310.01875","paper":"/paper/towards-stable-backdoor-purification-through-1","title":"Towards Stable Backdoor Purification through Feature Shift Tuning","date":"2023-10-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"AISafety-HKUST/stable_backdoor_purification","path":"for_imagenet/generate_poison_val_badnet.py","file_url":"https://github.com/AISafety-HKUST/stable_backdoor_purification/blob/HEAD/for_imagenet/generate_poison_val_badnet.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"ea3c60ddf40d46bc","mcp_get_code":{"code_sha256":"ea3c60ddf40d46bc"}},{"arxiv_id":"2307.11565","paper":"/paper/fmt-removing-backdoor-feature-maps-via","title":"Adversarial Feature Map Pruning for Backdoor","date":"2023-07-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"retsuh-bqw/FMP","path":"for_imagenet/generate_poison_val_badnet.py","file_url":"https://github.com/retsuh-bqw/FMP/blob/HEAD/for_imagenet/generate_poison_val_badnet.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"ea3c60ddf40d46bc","mcp_get_code":{"code_sha256":"ea3c60ddf40d46bc"}},{"arxiv_id":"2307.10562","paper":"/paper/shared-adversarial-unlearning-backdoor","title":"Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examples","date":"2023-07-20","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"shawkui/Shared_Adversarial_Unlearning","path":"for_imagenet/generate_poison_val_badnet.py","file_url":"https://github.com/shawkui/Shared_Adversarial_Unlearning/blob/HEAD/for_imagenet/generate_poison_val_badnet.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"ea3c60ddf40d46bc","mcp_get_code":{"code_sha256":"ea3c60ddf40d46bc"}},{"arxiv_id":"1901.08164","paper":"/paper/decoupled-greedy-learning-of-cnns","title":"Decoupled Greedy Learning of CNNs","date":"2019-01-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"batuozt/gleam","path":"datasets/format_fastmri.py","file_url":"https://github.com/batuozt/gleam/blob/HEAD/datasets/format_fastmri.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"7173d4cd30e0bb88","mcp_get_code":{"code_sha256":"7173d4cd30e0bb88"}}]}