{"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-one-hot","entry":"get_one_hot","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":20,"n_papers_ran":14,"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":15,"n_samples_ran":9,"n_samples_fingerprinted":2,"n_places":20,"n_places_pointer_only":8,"by_status":{"ran_honours":1,"ran_violates":0,"ran_draft_wrong":7,"ran_fixture":0,"ran":1,"unverified":6},"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":"2509.19674","paper":"/paper/arxiv-2509-19674","title":"C²Prompt: Class-aware Client Knowledge Interaction for Federated Continual Learning","date":null,"month_inferred_from_arxiv_id":"2025-09","title_source":"syntology","repo":"zhoujiahuan1991/NeurIPS2025-C2Prompt","path":"models_Cprompt/vit_coda_p_hard.py","file_url":"https://github.com/zhoujiahuan1991/NeurIPS2025-C2Prompt/blob/HEAD/models_Cprompt/vit_coda_p_hard.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"453899a2d9cac459","mcp_get_code":{"code_sha256":"453899a2d9cac459"}},{"arxiv_id":"2501.08001","paper":"/paper/gdiffretro-retrosynthesis-prediction-with","title":"GDiffRetro: Retrosynthesis Prediction with Dual Graph Enhanced Molecular Representation and Diffusion Generation","date":"2025-01-14","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"sunshy-1/GDiffRetro","path":"code/known_class/stage2/src/datasets.py","file_url":"https://github.com/sunshy-1/GDiffRetro/blob/HEAD/code/known_class/stage2/src/datasets.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"df7905f72eeb0cfa","mcp_get_code":{"code_sha256":"df7905f72eeb0cfa"}},{"arxiv_id":"2401.17263","paper":"/paper/robust-prompt-optimization-for-defending","title":"Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks","date":"2024-01-30","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"lapisrocks/rpo","path":"rpo/opt_utils.py","file_url":"https://github.com/lapisrocks/rpo/blob/HEAD/rpo/opt_utils.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":"8d46192fd331e0c3","mcp_get_code":{"code_sha256":"8d46192fd331e0c3"}},{"arxiv_id":"2401.05370","paper":"/paper/autoregressive-fragment-based-diffusion-for","title":"Autoregressive fragment-based diffusion for pocket-aware ligand design","date":"2023-12-15","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"keiserlab/autofragdiff","path":"sample_from_pocket.py","file_url":"https://github.com/keiserlab/autofragdiff/blob/HEAD/sample_from_pocket.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"df7905f72eeb0cfa","mcp_get_code":{"code_sha256":"df7905f72eeb0cfa"}},{"arxiv_id":"2306.08419","paper":"/paper/mediated-multi-agent-reinforcement-learning","title":"Mediated Multi-Agent Reinforcement Learning","date":"2023-06-14","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"dimonenka/mediatedmarl","path":"pgg-iter/utils/utils.py","file_url":"https://github.com/dimonenka/mediatedmarl/blob/HEAD/pgg-iter/utils/utils.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"b215cd24009a0d36","mcp_get_code":{"code_sha256":"b215cd24009a0d36"}},{"arxiv_id":"2302.00903","paper":"/paper/no-one-left-behind-real-world-federated-class","title":"No One Left Behind: Real-World Federated Class-Incremental Learning","date":"2023-02-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jiahuadong/lga","path":"LGA.py","file_url":"https://github.com/jiahuadong/lga/blob/HEAD/LGA.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":"8248ed8af5d57be5","mcp_get_code":{"code_sha256":"8248ed8af5d57be5"}},{"arxiv_id":"2210.05274","paper":"/paper/equivariant-3d-conditional-diffusion-models","title":"Equivariant 3D-Conditional Diffusion Models for Molecular Linker Design","date":"2022-10-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"igashov/difflinker","path":"src/datasets.py","file_url":"https://github.com/igashov/difflinker/blob/HEAD/src/datasets.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"df7905f72eeb0cfa","mcp_get_code":{"code_sha256":"df7905f72eeb0cfa"}},{"arxiv_id":"2209.01084","paper":"/paper/neighborhood-aware-scalable-temporal-network","title":"Neighborhood-aware Scalable Temporal Network Representation Learning","date":"2022-09-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"graph-com/neighborhood-aware-temporal-network","path":"process.py","file_url":"https://github.com/graph-com/neighborhood-aware-temporal-network/blob/HEAD/process.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"8ca7afb49dfbccb7","mcp_get_code":{"code_sha256":"8ca7afb49dfbccb7"}},{"arxiv_id":"2204.11181","paper":"/paper/realistic-evaluation-of-transductive-few-shot-1","title":"Realistic Evaluation of Transductive Few-Shot Learning","date":"2022-04-24","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"oveilleux/realistic_transductive_few_shot","path":"src/methods/tim.py","file_url":"https://github.com/oveilleux/realistic_transductive_few_shot/blob/HEAD/src/methods/tim.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"a03c85ae21c3b667","mcp_get_code":{"code_sha256":"a03c85ae21c3b667"}},{"arxiv_id":"2203.11473","paper":"/paper/federated-class-incremental-learning","title":"Federated Class-Incremental Learning","date":"2022-03-22","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"conditionwang/fcil","path":"src/GLFC.py","file_url":"https://github.com/conditionwang/fcil/blob/HEAD/src/GLFC.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":"f1ec4c5e733f7a2a","mcp_get_code":{"code_sha256":"f1ec4c5e733f7a2a"}},{"arxiv_id":"2203.07788","paper":"/paper/scalable-penalized-regression-for-noise","title":"Scalable Penalized Regression for Noise Detection in Learning with Noisy Labels","date":"2022-03-15","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Yikai-Wang/SPR-LNL","path":"models/spr.py","file_url":"https://github.com/Yikai-Wang/SPR-LNL/blob/HEAD/models/spr.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"b215cd24009a0d36","mcp_get_code":{"code_sha256":"b215cd24009a0d36"}},{"arxiv_id":"2104.10745","paper":"/paper/pocketnet-a-smaller-neural-network-for-3d","title":"PocketNet: A Smaller Neural Network for Medical Image Analysis","date":"2021-04-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"aecelaya/MIST","path":"mist/loss_functions/loss_utils.py","file_url":"https://github.com/aecelaya/MIST/blob/HEAD/mist/loss_functions/loss_utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"ebd28ad03ab13f04","mcp_get_code":{"code_sha256":"ebd28ad03ab13f04"}},{"arxiv_id":"2008.11297","paper":"/paper/transductive-information-maximization-for-few","title":"Transductive Information Maximization For Few-Shot Learning","date":"2020-08-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"mboudiaf/TIM","path":"src/utils.py","file_url":"https://github.com/mboudiaf/TIM/blob/HEAD/src/utils.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"a03c85ae21c3b667","mcp_get_code":{"code_sha256":"a03c85ae21c3b667"}},{"arxiv_id":"1909.10364","paper":"/paper/190910364","title":"Class-dependent Compression of Deep Neural Networks","date":"2019-09-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"rahimentezari/Sensys-ml2020","path":"MobileNet/MobileNet.py","file_url":"https://github.com/rahimentezari/Sensys-ml2020/blob/HEAD/MobileNet/MobileNet.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"b215cd24009a0d36","mcp_get_code":{"code_sha256":"b215cd24009a0d36"}},{"arxiv_id":"1903.09980","paper":"/paper/cluster-alignment-with-a-teacher-for","title":"Cluster Alignment with a Teacher for Unsupervised Domain Adaptation","date":"2019-03-24","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"thudzj/CAT","path":"digit-dataset/usps.py","file_url":"https://github.com/thudzj/CAT/blob/HEAD/digit-dataset/usps.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"f42a321be3321dea","mcp_get_code":{"code_sha256":"f42a321be3321dea"}},{"arxiv_id":"1803.09518","paper":"/paper/frechet-chemnet-distance-a-metric-for","title":"Fréchet ChemNet Distance: A metric for generative models for molecules in drug discovery","date":"2018-03-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"insilicomedicine/fcd_torch","path":"fcd_torch/utils.py","file_url":"https://github.com/insilicomedicine/fcd_torch/blob/HEAD/fcd_torch/utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"0840fcb4bcdcde19","mcp_get_code":{"code_sha256":"0840fcb4bcdcde19"}},{"arxiv_id":"1611.07725","paper":"/paper/icarl-incremental-classifier-and","title":"iCaRL: Incremental Classifier and Representation Learning","date":"2016-11-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"DRSAD/iCaRL","path":"iCaRL.py","file_url":"https://github.com/DRSAD/iCaRL/blob/HEAD/iCaRL.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"71a66063541d1b3b","mcp_get_code":{"code_sha256":"71a66063541d1b3b"}},{"arxiv_id":"1610.06258","paper":"/paper/using-fast-weights-to-attend-to-the-recent","title":"Using Fast Weights to Attend to the Recent Past","date":"2016-10-20","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jiamings/fast-weights","path":"generator.py","file_url":"https://github.com/jiamings/fast-weights/blob/HEAD/generator.py","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"1e3e05f637d7c45d","mcp_get_code":{"code_sha256":"1e3e05f637d7c45d"}},{"arxiv_id":"1606.09282","paper":"/paper/learning-without-forgetting","title":"Learning without Forgetting","date":"2016-06-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"geox-lab/cmn","path":"LwF-CIFAR100/LwF.py","file_url":"https://github.com/geox-lab/cmn/blob/HEAD/LwF-CIFAR100/LwF.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"dc209a0ea5b09a3f","mcp_get_code":{"code_sha256":"dc209a0ea5b09a3f"}},{"arxiv_id":"Nguyen_ESCAPE_Encoding_Super-keypoints_for_Category-Agnostic_Pose_Estimation_CVPR_2024_paper","paper":null,"title":"arXiv:Nguyen_ESCAPE_Encoding_Super-keypoints_for_Category-Agnostic_Pose_Estimation_CVPR_2024_paper","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"khoiucd/escape-tgt","path":"escape/models/utils/utils.py","file_url":"https://github.com/khoiucd/escape-tgt/blob/HEAD/escape/models/utils/utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"57157defb9e0aea6","mcp_get_code":{"code_sha256":"57157defb9e0aea6"}}]}