{"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/register-activation-hook","entry":"register_activation_hook","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":5,"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":3,"n_samples_fingerprinted":0,"n_places":6,"n_places_pointer_only":1,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":2,"ran_fixture":0,"ran":1,"unverified":0},"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":"2506.03850","paper":"/paper/vulnerability-aware-alignment-mitigating","title":"Vulnerability-Aware Alignment: Mitigating Uneven Forgetting in Harmful Fine-Tuning","date":"2025-06-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"ChanLiang/VAA","path":"loss_func/repnoise_loss.py","file_url":"https://github.com/ChanLiang/VAA/blob/HEAD/loss_func/repnoise_loss.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"c605efc9460b6c33","mcp_get_code":{"code_sha256":"c605efc9460b6c33"}},{"arxiv_id":"2501.17433","paper":"/paper/virus-harmful-fine-tuning-attack-for-large","title":"Virus: Harmful Fine-tuning Attack for Large Language Models Bypassing Guardrail Moderation","date":"2025-01-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"git-disl/virus","path":"loss_func/repnoise_loss.py","file_url":"https://github.com/git-disl/virus/blob/HEAD/loss_func/repnoise_loss.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"c605efc9460b6c33","mcp_get_code":{"code_sha256":"c605efc9460b6c33"}},{"arxiv_id":"2410.09760","paper":"/paper/targeted-vaccine-safety-alignment-for-large","title":"Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbation","date":"2024-10-13","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lslland/t-vaccine","path":"loss_func/repnoise_loss.py","file_url":"https://github.com/lslland/t-vaccine/blob/HEAD/loss_func/repnoise_loss.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"c605efc9460b6c33","mcp_get_code":{"code_sha256":"c605efc9460b6c33"}},{"arxiv_id":"2409.18169","paper":"/paper/harmful-fine-tuning-attacks-and-defenses-for","title":"Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey","date":"2024-09-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"git-disl/booster","path":"loss_func/repnoise_loss.py","file_url":"https://github.com/git-disl/booster/blob/HEAD/loss_func/repnoise_loss.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"c605efc9460b6c33","mcp_get_code":{"code_sha256":"c605efc9460b6c33"}},{"arxiv_id":"2405.14577","paper":"/paper/representation-noising-effectively-prevents","title":"Representation Noising: A Defence Mechanism Against Harmful Finetuning","date":"2024-05-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"domenicrosati/representation-noising","path":"representation_noising/loss.py","file_url":"https://github.com/domenicrosati/representation-noising/blob/HEAD/representation_noising/loss.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"f37096f0537d4a9d","mcp_get_code":{"code_sha256":"f37096f0537d4a9d"}},{"arxiv_id":"2405.14577","paper":"/paper/representation-noising-effectively-prevents","title":"Representation Noising: A Defence Mechanism Against Harmful Finetuning","date":"2024-05-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"domenicrosati/representation-noising","path":"representation_noising/loss.py","file_url":"https://github.com/domenicrosati/representation-noising/blob/HEAD/representation_noising/loss.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":"4d976747a4df66ec","mcp_get_code":{"code_sha256":"4d976747a4df66ec"}}]}