{"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/prefix-allowed-tokens-fn","entry":"prefix_allowed_tokens_fn","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":3,"n_samples_ran":2,"n_samples_fingerprinted":0,"n_places":6,"n_places_pointer_only":3,"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":"2410.05165","paper":"/paper/efficient-inference-for-large-language-model","title":"Efficient Inference for Large Language Model-based Generative Recommendation","date":"2024-10-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Linxyhaha/AtSpeed","path":"code/generation_trie.py","file_url":"https://github.com/Linxyhaha/AtSpeed/blob/HEAD/code/generation_trie.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"3e27e1971d49a1a8","mcp_get_code":{"code_sha256":"3e27e1971d49a1a8"}},{"arxiv_id":"2403.19021","paper":"/paper/towards-llm-recsys-alignment-with-textual-id","title":"IDGenRec: LLM-RecSys Alignment with Textual ID Learning","date":"2024-03-27","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"agiresearch/idgenrec","path":"src/utils/generation_trie.py","file_url":"https://github.com/agiresearch/idgenrec/blob/HEAD/src/utils/generation_trie.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"3e27e1971d49a1a8","mcp_get_code":{"code_sha256":"3e27e1971d49a1a8"}},{"arxiv_id":"2312.03463","paper":"/paper/dbcopilot-scaling-natural-language-querying","title":"DBCopilot: Natural Language Querying over Massive Databases via Schema Routing","date":"2023-12-06","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"tshu-w/dbcopilot","path":"src/models/schema_routing.py","file_url":"https://github.com/tshu-w/dbcopilot/blob/HEAD/src/models/schema_routing.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"1d59379d97927c9d","mcp_get_code":{"code_sha256":"1d59379d97927c9d"}},{"arxiv_id":"2306.11134","paper":"/paper/openp5-benchmarking-foundation-models-for","title":"OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems","date":"2023-06-19","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Wenyueh/LLMforRS_item_representation","path":"generation_trie.py","file_url":"https://github.com/Wenyueh/LLMforRS_item_representation/blob/HEAD/generation_trie.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"3e27e1971d49a1a8","mcp_get_code":{"code_sha256":"3e27e1971d49a1a8"}},{"arxiv_id":"2207.06300","paper":"/paper/re2g-retrieve-rerank-generate-2","title":"Re2G: Retrieve, Rerank, Generate","date":"2022-07-13","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"ibm/kgi-slot-filling","path":"slot_filling/rag_client_server_apply.py","file_url":"https://github.com/ibm/kgi-slot-filling/blob/HEAD/slot_filling/rag_client_server_apply.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":"1d4a7d4d6e3eb7e0","mcp_get_code":{"code_sha256":"1d4a7d4d6e3eb7e0"}},{"arxiv_id":"2108.13934","paper":"/paper/robust-retrieval-augmented-generation-for","title":"Robust Retrieval Augmented Generation for Zero-shot Slot Filling","date":"2021-08-31","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"IBM/retrieve-write-slot-filling","path":"slot_filling/rag_client_server_apply.py","file_url":"https://github.com/IBM/retrieve-write-slot-filling/blob/HEAD/slot_filling/rag_client_server_apply.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":"1d4a7d4d6e3eb7e0","mcp_get_code":{"code_sha256":"1d4a7d4d6e3eb7e0"}}]}