{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/task/code-documentation-generation","name":"Code Documentation Generation","slug":"code-documentation-generation","description_markdown":"Code Documentation Generation is a supervised task where a code function is the input to the model, and the model generates the documentation for this function.\r\n\r\nDescription from: [CodeTrans: Towards Cracking the Language of Silicone's Code Through Self-Supervised Deep Learning and High Performance Computing](https://arxiv.org/pdf/2104.02443.pdf)","categories":[{"name":"Computer Code","url":"/area/computer-code"}],"source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","slug_source":"archive_url"},"counts":{"papers_tagged":8,"papers_with_code":7,"benchmarks":7,"benchmark_tables_in_archive":7,"benchmark_tables_shown":7,"benchmark_tables_withheld_as_spam":0,"benchmark_definition":"a leaderboard table with at least one row; benchmark_tables_shown also counts the zero-row tables; benchmark_tables_in_archive adds the tables withheld as spam","datasets":5,"subtasks":1,"parent_tasks":2},"benchmarks":[{"leaderboard":"/sota/code-documentation-generation-on-1","slug":"code-documentation-generation-on-1","dataset":"CodeSearchNet - Java","dataset_url":"/dataset/codesearchnet","rows_in_archive":8,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeTrans-MT-Large","paper_title":"CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing","paper_url":"/paper/codetrans-towards-cracking-the-language-of","paper_date":"2021-04-06","arxiv_id":"2104.02443","code_links":[{"title":"agemagician/CodeTrans","url":"https://github.com/agemagician/CodeTrans"}],"syntology":null}},{"leaderboard":"/sota/code-documentation-generation-on-3","slug":"code-documentation-generation-on-3","dataset":"CodeSearchNet - Php","dataset_url":"/dataset/codesearchnet","rows_in_archive":8,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeTrans-MT-Base","paper_title":"CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing","paper_url":"/paper/codetrans-towards-cracking-the-language-of","paper_date":"2021-04-06","arxiv_id":"2104.02443","code_links":[{"title":"agemagician/CodeTrans","url":"https://github.com/agemagician/CodeTrans"}],"syntology":null}},{"leaderboard":"/sota/code-documentation-generation-on-5","slug":"code-documentation-generation-on-5","dataset":"CodeSearchNet - JavaScript","dataset_url":"/dataset/codesearchnet","rows_in_archive":8,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"Transformer","paper_title":"CodeBERT: A Pre-Trained Model for Programming and Natural Languages","paper_url":"/paper/codebert-a-pre-trained-model-for-programming","paper_date":"2020-02-19","arxiv_id":"2002.08155","code_links":[{"title":"salesforce/codet5","url":"https://github.com/salesforce/codet5"},{"title":"microsoft/CodeBERT","url":"https://github.com/microsoft/CodeBERT"},{"title":"graykode/commit-autosuggestions","url":"https://github.com/graykode/commit-autosuggestions"},{"title":"sakirinn/llm4cvd","url":"https://github.com/sakirinn/llm4cvd"},{"title":"zhangzwwww/dietcode","url":"https://github.com/zhangzwwww/dietcode"},{"title":"zhangzwwww/dietcodebert","url":"https://github.com/zhangzwwww/dietcodebert"},{"title":"zfj1998/CodeBert-Code2Text","url":"https://github.com/zfj1998/CodeBert-Code2Text"},{"title":"JasonZhu-WHU/CoderAssistant","url":"https://github.com/JasonZhu-WHU/CoderAssistant"},{"title":"aminatadjer/test","url":"https://github.com/aminatadjer/test"}],"syntology":{"n":20,"n_ran":14,"n_constructed":0,"n_ran_checked":14,"n_instrument":0,"n_unverified":6,"n_honours":0,"n_violates":0,"n_no_contract":14,"n_pointer_only":4,"phrase":"14 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified","sample_list":"/paper/codebert-a-pre-trained-model-for-programming#ran","syntology_url":"https://syntology.ai/paper/2002.08155","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.08155"}},"official":{"repos":["microsoft/CodeBERT"],"state":"official: harvested, nothing ran","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":1,"ran_from_kinds":["found_in_text","listed"]}}}},{"leaderboard":"/sota/code-documentation-generation-on","slug":"code-documentation-generation-on","dataset":"CodeSearchNet - Python","dataset_url":"/dataset/codesearchnet","rows_in_archive":7,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeTrans-MT-Base","paper_title":"CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing","paper_url":"/paper/codetrans-towards-cracking-the-language-of","paper_date":"2021-04-06","arxiv_id":"2104.02443","code_links":[{"title":"agemagician/CodeTrans","url":"https://github.com/agemagician/CodeTrans"}],"syntology":null}},{"leaderboard":"/sota/code-documentation-generation-on-2","slug":"code-documentation-generation-on-2","dataset":"CodeSearchNet - Go","dataset_url":"/dataset/codesearchnet","rows_in_archive":7,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeBERT (MLM)","paper_title":"CodeBERT: A Pre-Trained Model for Programming and Natural Languages","paper_url":"/paper/codebert-a-pre-trained-model-for-programming","paper_date":"2020-02-19","arxiv_id":"2002.08155","code_links":[{"title":"salesforce/codet5","url":"https://github.com/salesforce/codet5"},{"title":"microsoft/CodeBERT","url":"https://github.com/microsoft/CodeBERT"},{"title":"graykode/commit-autosuggestions","url":"https://github.com/graykode/commit-autosuggestions"},{"title":"sakirinn/llm4cvd","url":"https://github.com/sakirinn/llm4cvd"},{"title":"zhangzwwww/dietcode","url":"https://github.com/zhangzwwww/dietcode"},{"title":"zhangzwwww/dietcodebert","url":"https://github.com/zhangzwwww/dietcodebert"},{"title":"zfj1998/CodeBert-Code2Text","url":"https://github.com/zfj1998/CodeBert-Code2Text"},{"title":"JasonZhu-WHU/CoderAssistant","url":"https://github.com/JasonZhu-WHU/CoderAssistant"},{"title":"aminatadjer/test","url":"https://github.com/aminatadjer/test"}],"syntology":{"n":20,"n_ran":14,"n_constructed":0,"n_ran_checked":14,"n_instrument":0,"n_unverified":6,"n_honours":0,"n_violates":0,"n_no_contract":14,"n_pointer_only":4,"phrase":"14 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified","sample_list":"/paper/codebert-a-pre-trained-model-for-programming#ran","syntology_url":"https://syntology.ai/paper/2002.08155","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.08155"}},"official":{"repos":["microsoft/CodeBERT"],"state":"official: harvested, nothing ran","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":1,"ran_from_kinds":["found_in_text","listed"]}}}},{"leaderboard":"/sota/code-documentation-generation-on-4","slug":"code-documentation-generation-on-4","dataset":"CodeSearchNet - Ruby","dataset_url":"/dataset/codesearchnet","rows_in_archive":7,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeTrans-MT-Base","paper_title":"CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing","paper_url":"/paper/codetrans-towards-cracking-the-language-of","paper_date":"2021-04-06","arxiv_id":"2104.02443","code_links":[{"title":"agemagician/CodeTrans","url":"https://github.com/agemagician/CodeTrans"}],"syntology":null}},{"leaderboard":"/sota/code-documentation-generation-on-6","slug":"code-documentation-generation-on-6","dataset":"CodeSearchNet","dataset_url":"/dataset/codesearchnet","rows_in_archive":7,"metrics":["Smoothed BLEU-4"],"first_row_in_archive_order":{"model":"CodeBERT (MLM+RTD)","paper_title":"CodeBERT: A Pre-Trained Model for Programming and Natural Languages","paper_url":"/paper/codebert-a-pre-trained-model-for-programming","paper_date":"2020-02-19","arxiv_id":"2002.08155","code_links":[{"title":"salesforce/codet5","url":"https://github.com/salesforce/codet5"},{"title":"microsoft/CodeBERT","url":"https://github.com/microsoft/CodeBERT"},{"title":"graykode/commit-autosuggestions","url":"https://github.com/graykode/commit-autosuggestions"},{"title":"sakirinn/llm4cvd","url":"https://github.com/sakirinn/llm4cvd"},{"title":"zhangzwwww/dietcode","url":"https://github.com/zhangzwwww/dietcode"},{"title":"zhangzwwww/dietcodebert","url":"https://github.com/zhangzwwww/dietcodebert"},{"title":"zfj1998/CodeBert-Code2Text","url":"https://github.com/zfj1998/CodeBert-Code2Text"},{"title":"JasonZhu-WHU/CoderAssistant","url":"https://github.com/JasonZhu-WHU/CoderAssistant"},{"title":"aminatadjer/test","url":"https://github.com/aminatadjer/test"}],"syntology":{"n":20,"n_ran":14,"n_constructed":0,"n_ran_checked":14,"n_instrument":0,"n_unverified":6,"n_honours":0,"n_violates":0,"n_no_contract":14,"n_pointer_only":4,"phrase":"14 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified","sample_list":"/paper/codebert-a-pre-trained-model-for-programming#ran","syntology_url":"https://syntology.ai/paper/2002.08155","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.08155"}},"official":{"repos":["microsoft/CodeBERT"],"state":"official: harvested, nothing ran","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":1,"ran_from_kinds":["found_in_text","listed"]}}}}],"datasets":[{"url":"/dataset/codesearchnet","name":"CodeSearchNet","full_name":"","num_papers_in_archive":308},{"url":"/dataset/pytorrent","name":"PyTorrent","full_name":"PyTorrent","num_papers_in_archive":5},{"url":"/dataset/deepcom-java","name":"DeepCom-Java","full_name":"","num_papers_in_archive":2},{"url":"/dataset/hybrid-deepcom-java","name":"Java scripts","full_name":"","num_papers_in_archive":1},{"url":"/dataset/notebookcdg","name":"notebookcdg","full_name":"","num_papers_in_archive":1}],"subtasks":[{"url":"/task/codesearchnet-java","name":"CodeSearchNet - Java"}],"parent_tasks":[{"url":"/task/code-generation","name":"Code Generation"},{"url":"/task/text-generation","name":"Text Generation"}],"papers":{"order":"repositories listed in the archive (most first), then date (newest first), then slug; the archive holds no stars","population":"every paper the archive tags with this task (distinct papers; spam titles not listed). 'of' counts the papers listed; until 2026-09-25 it counted only the papers with a code link, and that number is of_with_code","page":1,"pages_in_order":1,"rows_per_page":100,"shown":8,"of":8,"of_with_code":7,"tagged_in_all":8,"counts":{"archive_papers_tagged":8,"with_a_code_link":7,"where_syntology_ran_a_sample":2,"not_listed_spam_title":0,"listed":8,"listed_where_code_ran":2,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":2,"every_run_a_failure_of_syntologys_instrument":0,"listed_with_a_run_with_no_instrument_failure":2,"listed_every_run_a_failure_of_syntologys_instrument":0,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"items":[{"url":"/paper/codebert-a-pre-trained-model-for-programming","slug":"codebert-a-pre-trained-model-for-programming","title":"CodeBERT: A Pre-Trained Model for Programming and Natural Languages","date":"2020-02-19","arxiv_id":"2002.08155","repositories_listed":9,"syntology":{"n":20,"n_ran":14,"n_constructed":0,"n_ran_checked":14,"n_instrument":0,"n_unverified":6,"n_honours":0,"n_violates":0,"n_no_contract":14,"n_pointer_only":4,"phrase":"14 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 0 honoured, 0 violated, 14 with no contract checked; 0 where Syntology's instrument failed) · 6 unverified","sample_list":"/paper/codebert-a-pre-trained-model-for-programming#ran","syntology_url":"https://syntology.ai/paper/2002.08155","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.08155"}},"official":{"repos":["microsoft/CodeBERT"],"state":"official: harvested, nothing ran","n_ran":0,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":1,"ran_from_kinds":["found_in_text","listed"]}}},{"url":"/paper/memorization-and-generalization-in-neural","slug":"memorization-and-generalization-in-neural","title":"Memorization and Generalization in Neural Code Intelligence Models","date":"2021-06-16","arxiv_id":"2106.08704","repositories_listed":2,"syntology":null},{"url":"/paper/haconvgnn-hierarchical-attention-based","slug":"haconvgnn-hierarchical-attention-based","title":"HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebooks","date":"2021-03-31","arxiv_id":"2104.01002","repositories_listed":2,"syntology":null},{"url":"/paper/docagent-a-multi-agent-system-for-automated","slug":"docagent-a-multi-agent-system-for-automated","title":"DocAgent: A Multi-Agent System for Automated Code Documentation Generation","date":"2025-04-11","arxiv_id":"2504.08725","repositories_listed":1,"syntology":null},{"url":"/paper/repoagent-an-llm-powered-open-source","slug":"repoagent-an-llm-powered-open-source","title":"RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation","date":"2024-02-26","arxiv_id":"2402.16667","repositories_listed":1,"syntology":{"n":4,"n_ran":3,"n_constructed":0,"n_ran_checked":1,"n_instrument":2,"n_unverified":1,"n_honours":0,"n_violates":1,"n_no_contract":0,"n_pointer_only":2,"phrase":"3 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 1 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified","sample_list":"/paper/repoagent-an-llm-powered-open-source#ran","syntology_url":"https://syntology.ai/paper/2402.16667","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.16667"}},"official":{"repos":["openbmb/repoagent"],"state":"official (archive's flag): 2 ran","n_ran":2,"n_constructed":0,"n_ran_no_instrument_failure":1,"n_unverified":0,"ran_from_kinds":["found_in_text","official"]}}},{"url":"/paper/assemble-foundation-models-for-automatic-code","slug":"assemble-foundation-models-for-automatic-code","title":"Assemble Foundation Models for Automatic Code Summarization","date":"2022-01-13","arxiv_id":"2201.05222","repositories_listed":1,"syntology":null},{"url":"/paper/codetrans-towards-cracking-the-language-of","slug":"codetrans-towards-cracking-the-language-of","title":"CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing","date":"2021-04-06","arxiv_id":"2104.02443","repositories_listed":1,"syntology":null},{"url":null,"slug":"a-comparative-analysis-of-large-language","title":"A Comparative Analysis of Large Language Models for Code Documentation Generation","date":"2023-12-16","arxiv_id":"2312.10349","repositories_listed":0,"syntology":null}],"syntology_records":2,"syntology_note":"a paper without a record is not a recorded non-run: it may lack an arXiv id or simply be absent from the graph layer"},"key_notes":{"n_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"since_archive_judged":{"papers":0,"papers_placed":0,"judged_by":{"model":"a model","models_as_recorded":[],"from":"lb_rows_run_verified.jsonl: each record's `model` field (the extractor's call that wrote decisions[])"},"note":"a model's judgement from the paper's own tables that they report on this leaderboard, not a result: no value from a paper that was not placed is printed or carried here; papers counts each paper once over these leaderboards","backfill":"8,886 of 18,637 newer papers checked so far (733 more had nothing to place; 41 could not be read)","backfill_complete":false,"leaderboards":[]},"papers_where_code_ran":2,"papers_where_code_ran_first_page":"/task/code-documentation-generation/papers/ran/1","papers_where_code_ran_caption":"We ran code from the paper's repository; we did not run it on this task or check it against the task's benchmarks.","pages":[{"order":"ran","page":1,"of":1,"url":"/task/code-documentation-generation/papers/ran/1","json":"/task/code-documentation-generation/papers/ran/1.json","rows":2}],"description_links":{"kept":0,"unwrapped_to_text":0,"bare_urls_linked":0,"relative_images_dropped":0,"rule":"internal links are kept only when the target slug exists in the catalog"},"syntology":{"read_at":"2026-10-05T00:36:11+00:00","claim":"Per-sample execution status on synthesized fixtures ('ran N of M samples'); not a correctness claim and not a ranking signal.","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; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"row_route":"each syntology object on a benchmark's first row and on a paper carries sample_list (this site's paper page, #ran), syntology_url (syntology.ai's page for the paper, only when that route probed live) and mcp (the agent call that lists the paper's harvested samples; not a verdict on the paper)","developers":"https://syntology.ai/developers"},"not_shown":{"libraries":"the archive has no per-task library table","trend_sparklines":"the Trend column of the benchmarks table was a rendered image; it is not in the archive","social_and_latest_sorts":"stars and social signals are not in the archive"},"record_sha256":"4855371b9cde7eefab990d45167f39599c821f6d436f21f0abb8581511bef1f1","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}