{"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-num-tokens","entry":"get_num_tokens","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":1,"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":5,"n_samples_ran":1,"n_samples_fingerprinted":1,"n_places":6,"n_places_pointer_only":1,"by_status":{"ran_honours":1,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":4},"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":"2412.05631","paper":"/paper/characterbox-evaluating-the-role-playing","title":"CharacterBox: Evaluating the Role-Playing Capabilities of LLMs in Text-Based Virtual Worlds","date":"2024-12-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"paitesanshi/characterbox","path":"convert_character_data.py","file_url":"https://github.com/paitesanshi/characterbox/blob/HEAD/convert_character_data.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"9131ad128fc2d2ed","mcp_get_code":{"code_sha256":"9131ad128fc2d2ed"}},{"arxiv_id":"2412.05631","paper":"/paper/characterbox-evaluating-the-role-playing","title":"CharacterBox: Evaluating the Role-Playing Capabilities of LLMs in Text-Based Virtual Worlds","date":"2024-12-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"paitesanshi/characterbox","path":"evaluate_narrator.py","file_url":"https://github.com/paitesanshi/characterbox/blob/HEAD/evaluate_narrator.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"1937f9277b291c92","mcp_get_code":{"code_sha256":"1937f9277b291c92"}},{"arxiv_id":"2406.13121","paper":"/paper/can-long-context-language-models-subsume","title":"Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?","date":"2024-06-19","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"google-deepmind/loft","path":"run_inference.py","file_url":"https://github.com/google-deepmind/loft/blob/HEAD/run_inference.py","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"164a77826583890b","mcp_get_code":{"code_sha256":"164a77826583890b"}},{"arxiv_id":"2311.14740","paper":"/paper/autokg-efficient-automated-knowledge-graph","title":"AutoKG: Efficient Automated Knowledge Graph Generation for Language Models","date":"2023-11-22","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"wispcarey/autokg","path":"utils.py","file_url":"https://github.com/wispcarey/autokg/blob/HEAD/utils.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"63044fb904c48c11","mcp_get_code":{"code_sha256":"63044fb904c48c11"}},{"arxiv_id":"2310.20697","paper":"/paper/text-transport-toward-learning-causal-effects","title":"Text-Transport: Toward Learning Causal Effects of Natural Language","date":"2023-10-31","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"torylin/text-transport","path":"code/openai_classification.py","file_url":"https://github.com/torylin/text-transport/blob/HEAD/code/openai_classification.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"8b6ef2cf5081fcf4","mcp_get_code":{"code_sha256":"8b6ef2cf5081fcf4"}},{"arxiv_id":"2025.naacl-long.323","paper":null,"title":"arXiv:2025.naacl-long.323","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"Paitesanshi/CharacterBox","path":"convert_character_data.py","file_url":"https://github.com/Paitesanshi/CharacterBox/blob/HEAD/convert_character_data.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"9131ad128fc2d2ed","mcp_get_code":{"code_sha256":"9131ad128fc2d2ed"}}]}