{"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":"/paper/arxiv-2601-19383","title":"High-quality data augmentation for code comment classification","arxiv_id":"2601.19383","date":"2026-01-27","proceeding":null,"authors":["Thomas Borsani","Andrea Rosani","Giuseppe Di Fatta"],"abstract":"Code comments serve a crucial role in software development for documenting functionality, clarifying design choices, and assisting with issue tracking. They capture developers' insights about the surrounding source code, serving as an essential resource for both human comprehension and automated analysis. Nevertheless, since comments are in natural language, they present challenges for machine-based code understanding. To address this, recent studies have applied natural language processing (NLP) and deep learning techniques to classify comments according to developers' intentions. However, existing datasets for this task suffer from size limitations and class imbalance, as they rely on manual annotations and may not accurately represent the distribution of comments in real-world codebases. To overcome this issue, we introduce new synthetic oversampling and augmentation techniques based on high-quality data generation to enhance the NLBSE'26 challenge datasets. Our Synthetic Quality Oversampling Technique and Augmentation Technique (Q-SYNTH) yield promising results, improving the base classifier by $2.56\\%$.","url_abs":"https://arxiv.org/abs/2601.19383","url_pdf":"https://arxiv.org/pdf/2601.19383","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2601.19383","atlas_url":"https://app.syntology.ai/?focus=2601.19383","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.19383"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ThomBors/NLBSE2026","reach":null}],"summary":{"unverified":7},"by_repo_kind":{"found_in_text":{"samples":7,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"3617e861a24dc811","entry":"filter_dataset_by_quality","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/oversampling.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/oversampling.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3617e861a24dc811"}},{"code_sha256_prefix":"8a6e180f653a9f39","entry":"filter_high_quality_synthetic","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/oversampling.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/oversampling.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a6e180f653a9f39"}},{"code_sha256_prefix":"12e2ffa4e0472b06","entry":"group_texts","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"12e2ffa4e0472b06"}},{"code_sha256_prefix":"6a7f626229b775dc","entry":"mask_one_token","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/augment.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/augment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6a7f626229b775dc"}},{"code_sha256_prefix":"b5a89edc6322a3ca","entry":"predict_masked_token","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/augment.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/augment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5a89edc6322a3ca"}},{"code_sha256_prefix":"e2ce94e0e52893d4","entry":"split_list_into_columns","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e2ce94e0e52893d4"}},{"code_sha256_prefix":"96aa26edf0c56f70","entry":"tokenize_function","repo":"ThomBors/NLBSE2026","repo_kind":"found_in_text","path":"src/utils.py","file_url":"https://github.com/ThomBors/NLBSE2026/blob/HEAD/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"96aa26edf0c56f70"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}