{"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/best-subspan-em","entry":"best_subspan_em","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":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":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.16843","paper":"/paper/trustworthy-alignment-of-retrieval-augmented","title":"Trustworthy Alignment of Retrieval-Augmented Large Language Models via Reinforcement Learning","date":"2024-10-22","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"zmzhang2000/trustworthy-alignment","path":"dschat/utils/metrics.py","file_url":"https://github.com/zmzhang2000/trustworthy-alignment/blob/HEAD/dschat/utils/metrics.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"0aadf110b32fdf12","mcp_get_code":{"code_sha256":"0aadf110b32fdf12"}},{"arxiv_id":"2410.04139","paper":"/paper/from-reading-to-compressing-exploring-the","title":"From Reading to Compressing: Exploring the Multi-document Reader for Prompt Compression","date":"2024-10-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"eunseongc/r2c","path":"LLM_inference.py","file_url":"https://github.com/eunseongc/r2c/blob/HEAD/LLM_inference.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"a8e9bf4b191097fc","mcp_get_code":{"code_sha256":"a8e9bf4b191097fc"}},{"arxiv_id":"2407.07071","paper":"/paper/lookback-lens-detecting-and-mitigating","title":"Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Maps","date":"2024-07-09","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"voidism/lookback-lens","path":"eval_exact_match.py","file_url":"https://github.com/voidism/lookback-lens/blob/HEAD/eval_exact_match.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"10af7cdbc53df7e5","mcp_get_code":{"code_sha256":"10af7cdbc53df7e5"}},{"arxiv_id":"2406.02536","paper":"/paper/mitigate-position-bias-in-large-language","title":"Mitigate Position Bias in Large Language Models via Scaling a Single Dimension","date":"2024-06-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"PositionalHidden/PositionalHidden","path":"experiments/lost_in_the_middle/metrics.py","file_url":"https://github.com/PositionalHidden/PositionalHidden/blob/HEAD/experiments/lost_in_the_middle/metrics.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"10af7cdbc53df7e5","mcp_get_code":{"code_sha256":"10af7cdbc53df7e5"}},{"arxiv_id":"2403.15268","paper":"/paper/imagination-augmented-generation-learning-to","title":"Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering","date":"2024-03-22","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"xnhyacinth/iag","path":"src/metrics.py","file_url":"https://github.com/xnhyacinth/iag/blob/HEAD/src/metrics.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":"10af7cdbc53df7e5","mcp_get_code":{"code_sha256":"10af7cdbc53df7e5"}},{"arxiv_id":"2403.04797","paper":"/paper/found-in-the-middle-how-language-models-use","title":"Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding","date":"2024-03-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"vita-group/ms-poe","path":"utils/lost_in_the_middle/metrics.py","file_url":"https://github.com/vita-group/ms-poe/blob/HEAD/utils/lost_in_the_middle/metrics.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"10af7cdbc53df7e5","mcp_get_code":{"code_sha256":"10af7cdbc53df7e5"}}]}