{"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/make-doc-prompt","entry":"make_doc_prompt","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":2,"n_samples_ran":2,"n_samples_fingerprinted":0,"n_places":5,"n_places_pointer_only":1,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":2,"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":"2402.04315","paper":"/paper/training-language-models-to-generate-text","title":"Training Language Models to Generate Text with Citations via Fine-grained Rewards","date":"2024-02-06","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"hcy123902/atg-w-fg-rw","path":"evaluation/eval_utils.py","file_url":"https://github.com/hcy123902/atg-w-fg-rw/blob/HEAD/evaluation/eval_utils.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":"c7d29eb322d5d6e3","mcp_get_code":{"code_sha256":"c7d29eb322d5d6e3"}},{"arxiv_id":"2312.06149","paper":"/paper/unlocking-anticipatory-text-generation-a","title":"Unlocking Anticipatory Text Generation: A Constrained Approach for Large Language Models Decoding","date":"2023-12-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"SalesforceAIResearch/Unlocking-TextGen","path":"FactaulQA/beam_search_eli5_large.py","file_url":"https://github.com/SalesforceAIResearch/Unlocking-TextGen/blob/HEAD/FactaulQA/beam_search_eli5_large.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":"a8f5fdcd9fc14fb2","mcp_get_code":{"code_sha256":"a8f5fdcd9fc14fb2"}},{"arxiv_id":"2311.07838","paper":"/paper/llatrieval-llm-verified-retrieval-for","title":"LLatrieval: LLM-Verified Retrieval for Verifiable Generation","date":"2023-11-14","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"beastyz/llm-verified-retrieval","path":"utils.py","file_url":"https://github.com/beastyz/llm-verified-retrieval/blob/HEAD/utils.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"c7d29eb322d5d6e3","mcp_get_code":{"code_sha256":"c7d29eb322d5d6e3"}},{"arxiv_id":"2305.14627","paper":"/paper/enabling-large-language-models-to-generate","title":"Enabling Large Language Models to Generate Text with Citations","date":"2023-05-24","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"princeton-nlp/alce","path":"utils.py","file_url":"https://github.com/princeton-nlp/alce/blob/HEAD/utils.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"c7d29eb322d5d6e3","mcp_get_code":{"code_sha256":"c7d29eb322d5d6e3"}},{"arxiv_id":"2025.findings-acl.588","paper":null,"title":"arXiv:2025.findings-acl.588","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"princeton-nlp/ALCE","path":"utils.py","file_url":"https://github.com/princeton-nlp/ALCE/blob/HEAD/utils.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"c7d29eb322d5d6e3","mcp_get_code":{"code_sha256":"c7d29eb322d5d6e3"}}]}